[llvm] [LLVM] Add `llvm.masked.compress` intrinsic (PR #92289)

Lawrence Benson via llvm-commits llvm-commits at lists.llvm.org
Wed May 22 03:57:43 PDT 2024


================
@@ -7197,6 +7199,48 @@ SDValue SelectionDAG::getNode(unsigned Opcode, const SDLoc &DL, EVT VT,
       return N1.getOperand(1);
     break;
   }
+  case ISD::MCOMPRESS: {
+    EVT VecVT = N1.getValueType();
+    EVT MaskVT = N2.getValueType();
+    (void)MaskVT;
----------------
lawben wrote:

okay, changed. I thought of this but did not find any use of `[[maybe_unused]]` in this file, so I stuck with the file's convention. 

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


More information about the llvm-commits mailing list