[PATCH] D156974: [RISCV] Fix the predicate code of uimm6
Brandon Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 3 03:42:29 PDT 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGb3b2a9209bd6: [RISCV] Fix the predicate code of uimm6 (authored by 4vtomat).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156974/new/
https://reviews.llvm.org/D156974
Files:
llvm/lib/Target/RISCV/RISCVInstrInfo.td
Index: llvm/lib/Target/RISCV/RISCVInstrInfo.td
===================================================================
--- llvm/lib/Target/RISCV/RISCVInstrInfo.td
+++ llvm/lib/Target/RISCV/RISCVInstrInfo.td
@@ -237,7 +237,7 @@
let PredicateMethod = "isImm";
}
-def uimm6 : Operand<XLenVT>, ImmLeaf<XLenVT, [{return isInt<6>(Imm);}]> {
+def uimm6 : Operand<XLenVT>, ImmLeaf<XLenVT, [{return isUInt<6>(Imm);}]> {
let ParserMatchClass = UImmAsmOperand<6>;
let DecoderMethod = "decodeUImmOperand<6>";
let OperandType = "OPERAND_UIMM6";
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156974.546789.patch
Type: text/x-patch
Size: 543 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230803/dd9dae2e/attachment.bin>
More information about the llvm-commits
mailing list