[PATCH] D111497: m68k: Support bit shifts on 64-bit integers
Annika L. via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 9 13:55:02 PDT 2021
AnnikaCodes added inline comments.
================
Comment at: llvm/test/CodeGen/M68k/Arith/bitwise.ll:241
+; CHECK-NEXT: move.l (16,%sp), (%sp)
+; CHECK-NEXT: jsr __lshrdi3 at PLT
+; CHECK-NEXT: adda.l #12, %sp
----------------
jrtc27 wrote:
> Hm now why is this being turned into a libcall, I'd expect Expand to inline it. RISC-V has custom lowering you could copy, but that lowering looks pretty generic (just turn XLEN into the width of the first operand).
Yeah, the custom lowering does away with the call.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111497/new/
https://reviews.llvm.org/D111497
More information about the llvm-commits
mailing list