Commit e618758
committed
Force emission of a branch in FastISel.
This is similar to rust-lang#29, but for FastISel. The change ensures that a LLVM
`br` always codegens a branch, even if fallthrough is possible.
We re-use --yk-no-fallthrough for this. To do so we move its definition
into a more generic location.
With this, the Lua interpreter runs until stop-gapping with the yk JIT.1 parent c697a93 commit e618758
File tree
3 files changed
+11
-6
lines changed- llvm/lib/CodeGen
- SelectionDAG
3 files changed
+11
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
20 | 27 | | |
21 | 28 | | |
22 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
| |||
1576 | 1578 | | |
1577 | 1579 | | |
1578 | 1580 | | |
1579 | | - | |
| 1581 | + | |
1580 | 1582 | | |
1581 | 1583 | | |
1582 | 1584 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
| 138 | + | |
143 | 139 | | |
144 | 140 | | |
145 | 141 | | |
| |||
0 commit comments