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

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 25 08:48:22 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:

@phoebewang I've created #145724 to investigate this - I'm not yet sure how much yak shaving will be necessary to address the remaining regressions

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


More information about the llvm-commits mailing list