[PATCH] D60041: [X86] Merge the different CMOV instructions for each condition code into single instructions that store the condition code as an immediate.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 31 23:16:13 PDT 2019
craig.topper marked an inline comment as done.
craig.topper added inline comments.
================
Comment at: lib/Target/X86/X86SchedPredicates.td:68
+ CheckAll<[
+ CheckNumOperands<4>,
+ CheckAny<[
----------------
I was trying to use CheckNumOperands to distinquish Memory from Register. But I don't think it works correctly with the implicit operands that MachineInstrs have. The MCInst version and the MachineInstr version of CMOV have different number operands since MachineInstr models the EFLAGS implicit use but MCInst doesn't.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60041/new/
https://reviews.llvm.org/D60041
More information about the llvm-commits
mailing list