Mercurial > hg > Members > tobaru > cbc > CbC_llvm
view test/CodeGen/Lanai/rshift64.ll @ 128:c347d3398279 default tip
fix
author | mir3636 |
---|---|
date | Wed, 06 Dec 2017 14:37:17 +0900 |
parents | 1172e4bd9c6f |
children |
line wrap: on
line source
; 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 }