blob: 5b4f84260048ab3501b6e0bc5cba201fe8137ada [file] [log] [blame]
; RUN: llvm-as < %s | opt -sccp | llvm-dis | grep 'ret int 0'
; Test that SCCP has basic knowledge of when and/or nuke overdefined values.
int %test(int %X) {
%Y = and int %X, 0
ret int %Y
}