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

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