[PATCH] D98683: [RISCV] Improve i32 UADDSAT/USUBSAT on RV64.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 16 06:59:13 PDT 2021


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:3529
+    assert(N->getValueType(0) == MVT::i32 && Subtarget.is64Bit() &&
+           "Unexpected custom legalisation");
+    SDLoc DL(N);
----------------
luismarques wrote:
> Nit: British spelling :)
Yeah I copied and pasted it from one of the other cases. Figured it was best to be consistent.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D98683/new/

https://reviews.llvm.org/D98683



More information about the llvm-commits mailing list