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