summaryrefslogtreecommitdiff
path: root/test/Transforms/SCCP/2002-05-02-MissSecondInst.ll
blob: bb5b51d1bbb192ec8ccc768428835d3b47da72b8 (plain)
1
2
3
4
5
6
7
8
; 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
}