[llvm] [X86] SimplifyDemandedBitsForTargetNode - add handling for X86ISD::FAND/FOR (PR #136618)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 22 02:14:42 PDT 2025


================
@@ -44147,6 +44153,55 @@ bool X86TargetLowering::SimplifyDemandedBitsForTargetNode(
     Known.Zero |= Known2.One;
     break;
   }
+  case X86ISD::FAND: {
----------------
RKSimon wrote:

X86ISD::AND/OR are scalar (RESULT,EFLAGS) nodes - not relevant to this (I'm not sure we have any tests that need them yet either).

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


More information about the llvm-commits mailing list