• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -mtriple=lanai-unknown-unknown | FileCheck %s
2
3; Test right-shift i64 lowering does not result in call being inserted.
4
5; CHECK-LABEL: shift
6; CHECK-NOT: bt __lshrdi3
7; CHECK: %rv
8define i64 @shift(i64 inreg, i32 inreg) {
9  %3 = zext i32 %1 to i64
10  %4 = lshr i64 %0, %3
11  ret i64 %4
12}
13