2006-12-02 05:23:10 +01:00
|
|
|
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86
|
|
|
|
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | not grep orl
|
2006-05-30 08:53:55 +02:00
|
|
|
int %test(int %x) {
|
|
|
|
%tmp1 = shl int %x, ubyte 3
|
|
|
|
%tmp2 = add int %tmp1, 7
|
|
|
|
ret int %tmp2
|
|
|
|
}
|