[llvm] [DAG] Handle truncated splat in isBoolConstant (PR #145473)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 24 01:47:59 PDT 2025


================
@@ -4375,6 +4375,8 @@ class LLVM_ABI TargetLowering : public TargetLoweringBase {
            Op.getOpcode() == ISD::SPLAT_VECTOR_PARTS;
   }
 
+  virtual bool isTargetCanonicalSelect(SDNode *N) const { return false; }
----------------
RKSimon wrote:

(style) add a description of what a canonical select means

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


More information about the llvm-commits mailing list