llvm.org GIT mirror llvm / release_29 test / Transforms / SCCP / 2006-12-19-UndefBug.ll
release_29

Tree @release_29 (Download .tar.gz)

2006-12-19-UndefBug.ll @release_29raw · history · blame

1
2
3
4
5
6
7
; RUN: opt < %s -sccp -S | \
; RUN:   grep {ret i1 false}

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