Added the ability to xfail based on llvmgcc version
[llvm-complete.git] / test / Transforms / InstCombine / 2006-02-13-DemandedMiscompile.ll
blobf0703386553c8b6e0c13395ebe5727a248f1f04f
1 ; RUN: llvm-as < %s | opt -instcombine -disable-output &&
2 ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep undef
4 int %test(sbyte %A) {
5         %B = cast sbyte %A to int
6         %C = shr int %B, ubyte 8
7         ret int %C