1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00
Dylan McKay f71b2bc86e [AVR] Add a test for 64-bit left shifts
llvm-svn: 289936
2016-12-16 11:40:00 +00:00

9 lines
192 B
LLVM

; 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
}