summaryrefslogtreecommitdiff
path: root/test/Transforms/SCCP/2002-05-02-MissSecondInst.ll
blob: 289cafb9dbee02dbf46deec9506438dd70b711b7 (plain)
1
2
3
4
5
6
7
8
; RUN: opt %s -sccp | llvm-dis | 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
}