Commit b765ade
committed
IRGen: Mark some
Fixes an assertion failure in the rebranch `llvm::APInt` ctor on 32-bit
Windows. We were hitting the assertion because `uint64_t(-2)` does not
fit into 32 bits when treated as unsigned.
These assertions were enabled by default
llvm/llvm-project#114539.llvm::APInt constructions as signed1 parent a868d92 commit b765ade
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2546 | 2546 | | |
2547 | 2547 | | |
2548 | 2548 | | |
2549 | | - | |
2550 | | - | |
2551 | | - | |
| 2549 | + | |
| 2550 | + | |
2552 | 2551 | | |
2553 | 2552 | | |
2554 | 2553 | | |
| |||
2578 | 2577 | | |
2579 | 2578 | | |
2580 | 2579 | | |
2581 | | - | |
| 2580 | + | |
2582 | 2581 | | |
2583 | 2582 | | |
2584 | 2583 | | |
| |||
0 commit comments