projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7f0166a158d54f2bee6937ba7c4774f889f3a02f
[oota-llvm.git]
/
SelfReferential.ll
1
; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
2
; CHECK: Only PHI nodes may reference their own value
3
4
; Test that self referential instructions are not allowed
5
6
define void @test() {
7
%A = add i32 %A, 0 ; <i32> [#uses=1]
8
ret void
9
}
10