brintos

brintos / llvm-project-archived public Read only

0
0
Text · 203 B · 5cdea32 Raw
8 lines · plain
1; RUN: opt < %s -passes=instcombine -S | grep load2 3define void @test(ptr %P) {4        ; Dead but not deletable!5        %X = load volatile i32, ptr %P              ; <i32> [#uses=0]6        ret void7}8