Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / Transforms / InstCombine / zeroext-and-reduce.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep 'and int %Y, 8'
2
3 int %test1(ubyte %X) {
4         %Y = cast ubyte %X to int
5         %Z = and int %Y, 65544     ;; Prune this to and Y, 8
6         ret int %Z
7 }
8