summaryrefslogtreecommitdiff
path: root/test/Transforms/SCCP/2002-05-02-MissSecondInst.ll
blob: e6a181170e92483e145ff3a7fc52c47e6b604750 (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
}