You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
302 B
13 lines
302 B
4 months ago
|
; RUN: llc < %s -mtriple=lanai-unknown-unknown | FileCheck %s
|
||
|
|
||
|
; Test right-shift i64 lowering does not result in call being inserted.
|
||
|
|
||
|
; CHECK-LABEL: shift
|
||
|
; CHECK-NOT: bt __lshrdi3
|
||
|
; CHECK: %rv
|
||
|
define i64 @shift(i64 inreg, i32 inreg) {
|
||
|
%3 = zext i32 %1 to i64
|
||
|
%4 = lshr i64 %0, %3
|
||
|
ret i64 %4
|
||
|
}
|