[llvm] Reapply [APInt] Enable APInt ctor assertion by default (PR #114539)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 4 01:59:01 PST 2024
nikic wrote:
@nathanchance Thanks for the report! Here's a minimized test case:
```llvm
; RUN: opt -S -passes=consthoist < %s
target triple = "armv4t-unknown-linux-gnueabi"
define i1 @test(i32 %arg) optsize {
entry:
%shr.mask = and i32 %arg, -1048576
%cmp = icmp eq i32 %shr.mask, 380633088
ret i1 %cmp
}
```
https://github.com/llvm/llvm-project/pull/114539
More information about the llvm-commits
mailing list