mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-11 21:45:16 +00:00
[AVR] Add a test for 64-bit left shifts
llvm-svn: 289936
This commit is contained in:
parent
9362cf3865
commit
f71b2bc86e
8
test/CodeGen/AVR/shift.ll
Normal file
8
test/CodeGen/AVR/shift.ll
Normal file
@ -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
|
||||
}
|
Loading…
Reference in New Issue
Block a user