8 lines
193 B
LLVM
8 lines
193 B
LLVM
|
; RUN: opt < %s -instcombine -S | grep load
|
||
|
|
||
|
define void @test(i32* %P) {
|
||
|
; Dead but not deletable!
|
||
|
%X = load volatile i32* %P ; <i32> [#uses=0]
|
||
|
ret void
|
||
|
}
|