blob: 675376b63f42694d91b595ebe2ad907bf4e4b7cf [file] [log] [blame]
Reid Spencer69ccadd2006-12-02 04:23:10 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86
2; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | not grep orl
Evan Chengdc7dd972006-05-30 06:53:55 +00003int %test(int %x) {
4 %tmp1 = shl int %x, ubyte 3
5 %tmp2 = add int %tmp1, 7
6 ret int %tmp2
7}