projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[WebAssembly] Reverse the order of operands for br_if
[oota-llvm.git]
/
test
/
CodeGen
/
PowerPC
/
neg.ll
diff --git
a/test/CodeGen/PowerPC/neg.ll
b/test/CodeGen/PowerPC/neg.ll
index 59e14dbd70503f377f8071f2da45e9a21ba645fd..c673912d2ef1e9f1bc2d79d13a9a8bf907f79fae 100644
(file)
--- a/
test/CodeGen/PowerPC/neg.ll
+++ b/
test/CodeGen/PowerPC/neg.ll
@@
-1,6
+1,7
@@
-; RUN: ll
vm-as < %s | llc
-march=ppc32 | grep neg
+; RUN: ll
c < %s
-march=ppc32 | grep neg
-
int %test(int
%X) {
- %Y = sub int 0, %X
-
ret int
%Y
+
define i32 @test(i32
%X) {
+ %Y = sub i32 0, %X ; <i32> [#uses=1]
+
ret i32
%Y
}
+