[llvm] [NVPTX] Add PRMT constant folding and cleanup usage of PRMT node (PR #148906)

Alex MacLean via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 17 10:32:42 PDT 2025


================
@@ -5797,47 +5844,116 @@ static SDValue combineADDRSPACECAST(SDNode *N,
   return SDValue();
 }
 
+static APInt getPRMTSelector(APInt Selector, unsigned Mode) {
----------------
AlexMaclean wrote:

Added

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


More information about the llvm-commits mailing list