[llvm-commits] [llvm] r47791 - /llvm/trunk/test/Verifier/SelfReferential.ll
Chris Lattner
sabre at nondot.org
Sat Mar 1 01:00:21 PST 2008
Author: lattner
Date: Sat Mar 1 03:00:21 2008
New Revision: 47791
URL: http://llvm.org/viewvc/llvm-project?rev=47791&view=rev
Log:
Fix this test.
Modified:
llvm/trunk/test/Verifier/SelfReferential.ll
Modified: llvm/trunk/test/Verifier/SelfReferential.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Verifier/SelfReferential.ll?rev=47791&r1=47790&r2=47791&view=diff
==============================================================================
--- llvm/trunk/test/Verifier/SelfReferential.ll (original)
+++ llvm/trunk/test/Verifier/SelfReferential.ll Sat Mar 1 03:00:21 2008
@@ -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
+}
+
More information about the llvm-commits
mailing list