[PATCH] D91479: [RISCV] Custom type legalize i32 fshl/fshr on RV64 with Zbt.
Fraser Cormack via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 23 03:23:21 PST 2020
frasercrmck added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:1096
+ case ISD::FSHL:
+ case ISD::FSHR:
+ assert(N->getValueType(0) == MVT::i32 && Subtarget.is64Bit() &&
----------------
I think it's worth introducing a scope here, so someone adding a case after this won't have to.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91479/new/
https://reviews.llvm.org/D91479
More information about the llvm-commits
mailing list