[clang] [RISCV][GISel] Select G_SELECT (PR #67614)

2023-10-06 Thread Nitin John Raj via cfe-commits
https://github.com/nitinjohnraj closed https://github.com/llvm/llvm-project/pull/67614 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RISCV][GISel] Select G_SELECT (PR #67614)

2023-10-03 Thread Nitin John Raj via cfe-commits
https://github.com/nitinjohnraj updated https://github.com/llvm/llvm-project/pull/67614 >From 72ba591ed3cc3ab1b6321eaa215ef47a67803dac Mon Sep 17 00:00:00 2001 From: Nitin John Raj Date: Wed, 27 Sep 2023 15:13:26 -0700 Subject: [PATCH] [RISCV][GISel] Select G_SELECT --- .../RISCV/GISel/RISCVI

[clang] [RISCV][GISel] Select G_SELECT (PR #67614)

2023-09-27 Thread Michael Maitland via cfe-commits
@@ -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(); -