brintos

brintos / llvm-project-archived public Read only

0
0
Text · 302 B · 2009edd Raw
13 lines · plain
1; RUN: llc < %s -mtriple=lanai-unknown-unknown | FileCheck %s2 3; Test right-shift i64 lowering does not result in call being inserted.4 5; CHECK-LABEL: shift6; CHECK-NOT: bt __lshrdi37; CHECK: %rv8define i64 @shift(i64 inreg, i32 inreg) {9  %3 = zext i32 %1 to i6410  %4 = lshr i64 %0, %311  ret i64 %412}13