[llvm] [NVPTX] Add SimplifyDemandedBitsForTargetNode for PRMT (PR #149395)

Alex MacLean via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 20 20:58:46 PDT 2025


================
@@ -6544,4 +6544,101 @@ void NVPTXTargetLowering::computeKnownBitsForTargetNode(
   default:
     break;
   }
-}
\ No newline at end of file
+}
+
+static void getPRMTDemandedBits(const APInt &SelectorVal,
+                                const APInt &DemandedBits, APInt &DemandedLHS,
+                                APInt &DemandedRHS) {
----------------
AlexMaclean wrote:

Fixed

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


More information about the llvm-commits mailing list