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:
b822e70
)
Fix this test.
author
Chris Lattner
<sabre@nondot.org>
Sat, 1 Mar 2008 09:00:21 +0000
(09:00 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 1 Mar 2008 09:00:21 +0000
(09:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47791
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Verifier/SelfReferential.ll
patch
|
blob
|
history
diff --git
a/test/Verifier/SelfReferential.ll
b/test/Verifier/SelfReferential.ll
index 1f7b837b32f589b5a281e727ab08b1e6ce72a0a2..c013bfb6a188afab7905ed5b84841546f34c6809 100644
(file)
--- a/
test/Verifier/SelfReferential.ll
+++ b/
test/Verifier/SelfReferential.ll
@@
-1,11
+1,9
@@
-; RUN: not llvm-as -f %s -o /dev/null
+; RUN: not llvm-as -f %s -o /dev/null
|& grep {Only PHI nodes may reference their own value}
; Test that self referential instructions are not allowed
-implementation
-
-void "test"()
-begin
- %A = add int %A, 0
+define void @test() {
+ %A = add i32 %A, 0 ; <i32> [#uses=1]
ret void
-end
+}
+