[llvm] [RISCV][GISel] Select G_SELECT (PR #67614)
Nitin John Raj via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 28 10:34:16 PDT 2023
================
@@ -239,6 +245,11 @@ bool RISCVInstructionSelector::select(MachineInstr &MI) {
}
case TargetOpcode::G_SEXT_INREG:
return selectSExtInreg(MI, MIB);
+ case TargetOpcode::G_SELECT:
+ if (!selectSelect(MI, MIB, MRI))
+ return false;
+ MI.eraseFromParent();
----------------
nitinjohnraj wrote:
You're right, thanks for pointing it out.
https://github.com/llvm/llvm-project/pull/67614
More information about the llvm-commits
mailing list