[PATCH] D122051: [RISCV] The immediate version of sgt/ugt lowering to slti/sltiu + xori

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 25 15:31:07 PDT 2022


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfo.td:360
+  int64_t Imm = N->getSExtValue();
+  return (Imm >= -2049 && Imm < 0) || ( Imm > 0 && Imm <= 2046);
+}]>;
----------------
There's an extra space before the third use of `Imm`


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

https://reviews.llvm.org/D122051



More information about the llvm-commits mailing list