These tests cases were converted using the script at https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34 Differential Revision: https://reviews.llvm.org/D135094
10 lines
183 B
LLVM
10 lines
183 B
LLVM
; RUN: opt < %s -passes=instcombine -disable-output
|
|
|
|
%Ty = type opaque
|
|
|
|
define i32 @test(ptr %X) {
|
|
%Z = load i32, ptr %X ; <i32> [#uses=1]
|
|
ret i32 %Z
|
|
}
|
|
|