projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa3904f
)
Fix broken testcase
author
Chris Lattner
<sabre@nondot.org>
Thu, 9 May 2002 01:28:30 +0000
(
01:28
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 9 May 2002 01:28:30 +0000
(
01:28
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2565
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/sub.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/sub.ll
b/test/Transforms/InstCombine/sub.ll
index bbdf0b3787ca3af6af040b0111b5d7395bbff6e0..c2a6124536d740273f46728541440f06a31d1766 100644
(file)
--- a/
test/Transforms/InstCombine/sub.ll
+++ b/
test/Transforms/InstCombine/sub.ll
@@
-1,7
+1,7
@@
; This test makes sure that these instructions are properly eliminated.
;
-; RUN: if as < %s | opt -instcombine -dce | dis | grep sub
+; RUN: if as < %s | opt -instcombine -dce | dis | grep sub
| grep -v 'sub int %Cok, %Bok'
; RUN: then exit 1
; RUN: else exit 0
; RUN: fi
@@
-30,8
+30,8
@@
int "test4"(int %A, int %x) {
ret int %C
}
-int "test5"(int %A, int %B
, int %C
) {
- %D = sub int %B
, %C
+int "test5"(int %A, int %B
ok, int %Cok
) {
+ %D = sub int %B
ok, %Cok
%E = sub int %A, %D
ret int %E
}