You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
17
external/llvm/test/Transforms/InstCombine/apint-not.ll
vendored
Normal file
17
external/llvm/test/Transforms/InstCombine/apint-not.ll
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
; This test makes sure that the xor instructions are properly eliminated
|
||||
; when arbitrary precision integers are used.
|
||||
|
||||
; RUN: opt < %s -instcombine -S | not grep xor
|
||||
|
||||
define i33 @test1(i33 %A) {
|
||||
%B = xor i33 %A, -1
|
||||
%C = xor i33 %B, -1
|
||||
ret i33 %C
|
||||
}
|
||||
|
||||
define i1 @test2(i52 %A, i52 %B) {
|
||||
%cond = icmp ule i52 %A, %B ; Can change into uge
|
||||
%Ret = xor i1 %cond, true
|
||||
ret i1 %Ret
|
||||
}
|
||||
|
Reference in New Issue
Block a user