mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-05 00:59:19 +00:00

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289936 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
192 B
LLVM
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
|
|
}
|