diff options
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/test/CodeGen/AVR/shift.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/AVR/shift.ll b/llvm/test/CodeGen/AVR/shift.ll new file mode 100644 index 00000000000..8d59050f0d3 --- /dev/null +++ b/llvm/test/CodeGen/AVR/shift.ll @@ -0,0 +1,8 @@ +; RUN: llc < %s -march=avr | FileCheck %s + +; CHECK-LABEL: shift_i64_i64 +define i64 @shift_i64_i64(i64 %a, i64 %b) { + ; CHECK: call __ashldi3 + %result = shl i64 %a, %b + ret i64 %result +} |