[PATCH] D111497: m68k: Support bit shifts on 64-bit integers
Jessica Clarke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 9 11:46:51 PDT 2021
jrtc27 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
----------------
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).
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