llvm-project/llvm/test/Transforms/SCCP/2002-05-02-MissSecondInst.ll

9 lines
155 B
LLVM

; RUN: opt < %s -sccp -S | not grep sub
define void @test3(i32, i32) {
add i32 0, 0 ; <i32>:3 [#uses=0]
sub i32 0, 4 ; <i32>:4 [#uses=0]
ret void
}