[PATCH] D101508: [EarlyIfConversion] Avoid producing selects with identical operands
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 30 03:41:40 PDT 2021
dmgreen added inline comments.
================
Comment at: llvm/lib/CodeGen/EarlyIfConversion.cpp:560
+static unsigned operandIndex(const MachineInstr &Def, Register VReg) {
+ unsigned Idx = 0;
----------------
Can this use MachineInstr::findRegisterDefOperandIdx?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101508/new/
https://reviews.llvm.org/D101508
More information about the llvm-commits
mailing list