You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.161
Former-commit-id: 4db48158d3a35497b8f118ab21b5f08ac3d86d98
This commit is contained in:
parent
37fbf886a3
commit
e19d552987
16
external/llvm/test/Transforms/InstCombine/apint-and-compare.ll
vendored
Normal file
16
external/llvm/test/Transforms/InstCombine/apint-and-compare.ll
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
; RUN: opt < %s -instcombine -S | grep and | count 2
|
||||
|
||||
; Should be optimized to one and.
|
||||
define i1 @test1(i33 %a, i33 %b) {
|
||||
%tmp1 = and i33 %a, 65280
|
||||
%tmp3 = and i33 %b, 65280
|
||||
%tmp = icmp ne i33 %tmp1, %tmp3
|
||||
ret i1 %tmp
|
||||
}
|
||||
|
||||
define i1 @test2(i999 %a, i999 %b) {
|
||||
%tmp1 = and i999 %a, 65280
|
||||
%tmp3 = and i999 %b, 65280
|
||||
%tmp = icmp ne i999 %tmp1, %tmp3
|
||||
ret i1 %tmp
|
||||
}
|
Reference in New Issue
Block a user