mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-06 19:31:13 +00:00
Check for eqv matching
llvm-svn: 21414
This commit is contained in:
parent
208da25af0
commit
4a98699e3d
13
test/Regression/CodeGen/PowerPC/eqv.ll
Normal file
13
test/Regression/CodeGen/PowerPC/eqv.ll
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
; RUN: llvm-as < %s | llc -march=ppc32 | grep eqv | wc -l | grep 2
|
||||||
|
|
||||||
|
int %test1(int %X, int %Y) {
|
||||||
|
%A = xor int %X, %Y
|
||||||
|
%B = xor int %A, -1
|
||||||
|
ret int %B
|
||||||
|
}
|
||||||
|
|
||||||
|
int %test2(int %X, int %Y) {
|
||||||
|
%A = xor int %X, %Y
|
||||||
|
%B = xor int %A, -1
|
||||||
|
ret int %B
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user