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:
68d024d
)
Check another case
author
Chris Lattner
<sabre@nondot.org>
Thu, 2 May 2002 15:24:40 +0000
(15:24 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 2 May 2002 15:24:40 +0000
(15:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2424
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/getelementptr.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/getelementptr.ll
b/test/Transforms/InstCombine/getelementptr.ll
index c22871b3b126e44cf38834c6c161139b7b99a860..b27bbc875edf85e03af4f550258d7353449352b8 100644
(file)
--- a/
test/Transforms/InstCombine/getelementptr.ll
+++ b/
test/Transforms/InstCombine/getelementptr.ll
@@
-1,6
+1,6
@@
; The %A getelementptr instruction should be eliminated here
-; RUN: if as < %s | opt -instcombine -dce | dis | grep getelementptr | grep
-v '%C
'
+; RUN: if as < %s | opt -instcombine -dce | dis | grep getelementptr | grep
'%A
'
; RUN: then exit 1
; RUN: else exit 0
; RUN: fi
@@
-19,3
+19,9
@@
begin
ret int* %C
end
+int *"foo2"(int * %I)
+begin
+ %A = getelementptr int* %I, uint 0 ; Noop
+ ret int * %A
+end
+