[llvm] [CodeGen][TII] Simplify analyzeSelect (PR #175828)

Sam Elliott via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 2 22:21:34 PST 2026


================
@@ -175,9 +174,7 @@ class RISCVInstrInfo : public RISCVGenInstrInfo {
   bool isBranchOffsetInRange(unsigned BranchOpc,
                              int64_t BrOffset) const override;
 
-  bool analyzeSelect(const MachineInstr &MI,
-                     SmallVectorImpl<MachineOperand> &Cond, unsigned &TrueOp,
-                     unsigned &FalseOp, bool &Optimizable) const override;
+  bool analyzeSelect(const MachineInstr &MI, bool &Optimizable) const override;
----------------
lenary wrote:

Done

https://github.com/llvm/llvm-project/pull/175828


More information about the llvm-commits mailing list