[PATCH] D156432: [RISCV][NFC] Use !format to simplify some code
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 1 09:53:57 PDT 2023
craig.topper accepted this revision.
craig.topper added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfo.td:165
+
+class UImmLeafOperand<int bitsNum>: UImmOperand<bitsNum>,
+ ImmLeaf<XLenVT, !format([{return isUInt<{0}>(Imm);}], bitsNum)>;
----------------
space before `:`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156432/new/
https://reviews.llvm.org/D156432
More information about the llvm-commits
mailing list