llvm-project/llvm/test/Assembler/2004-06-07-VerifierBug.ll

13 lines
345 B
LLVM

; RUN: llvm-as < %s > /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order
define void @t() {
entry:
ret void
loop: ; preds = %loop
%tmp.4.i9 = getelementptr i32* null, i32 %tmp.5.i10 ; <i32*> [#uses=1]
%tmp.5.i10 = load i32* %tmp.4.i9 ; <i32> [#uses=1]
br label %loop
}