mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 08:23:21 +01:00
bf08e82d8e
llvm-svn: 79992
10 lines
224 B
LLVM
10 lines
224 B
LLVM
; RUN: not llvm-as %s -o /dev/null |& grep {Only PHI nodes may reference their own value}
|
|
|
|
; Test that self referential instructions are not allowed
|
|
|
|
define void @test() {
|
|
%A = add i32 %A, 0 ; <i32> [#uses=1]
|
|
ret void
|
|
}
|
|
|