projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Revert some changes that were made to fix PR20680.
[oota-llvm.git]
/
test
/
Verifier
/
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