Commit 0101b4f
committed
[LLVM 21] Avoid computeKnownBits.
LLVM 21 changes the API of computeKnownBits. To avoid conditional code,
use llvm::WithCache which has existed since LLVM 18 and allows us to use
the same code across all LLVM versions we support.1 parent b347adf commit 0101b4f
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
180 | | - | |
181 | | - | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
182 | 185 | | |
183 | 186 | | |
184 | 187 | | |
| |||
0 commit comments