llvm-project/llvm/test/Transforms/SCCP/2006-12-19-UndefBug.ll

8 lines
149 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | opt -sccp | llvm-dis | \
; RUN: grep 'ret i1 false'
bool %foo() {
%X = and bool false, undef
ret bool %X
}