aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/SCCP/2006-12-19-UndefBug.ll
blob: ec69ce05fe940367cd06a2bec2398183105f3d77 (plain)
1
2
3
4
5
6
7
8
; RUN: opt < %s -sccp -S | \
; RUN:   grep {ret i1 false}

define i1 @foo() {
	%X = and i1 false, undef		; <i1> [#uses=1]
	ret i1 %X
}