[PATCH] D94894: [RISCV] Add way to mark CompressPats that should only be used for compressing.
Fraser Cormack via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 19 01:49:53 PST 2021
frasercrmck added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoC.td:904
(C_JR GPRNoX0:$rs1)>;
+let isCompressOnly = true in {
def : CompressPat<(ADD GPRNoX0:$rs1, X0, GPRNoX0:$rs2),
----------------
Is there a reason why this is `true` but the others are `1`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94894/new/
https://reviews.llvm.org/D94894
More information about the llvm-commits
mailing list