[Mlir-commits] [clang] [llvm] [mlir] Remove the `x86_mmx` IR type. (PR #98505)

James Y Knight llvmlistbot at llvm.org
Mon Jul 15 06:14:29 PDT 2024


================
@@ -57594,6 +57599,86 @@ static SDValue combinePDEP(SDNode *N, SelectionDAG &DAG,
   return SDValue();
 }
 
+// Fixup the MMX intrinsics' types: in IR they are expressed with <1 x i64>,
----------------
jyknight wrote:

We perhaps _could_ use i64, but i64 is also not a legal type on 32bit x86, so I don't think that would actually help here.

I chose <1 x i64> mainly because that's what Clang was already using for MMX values.

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


More information about the Mlir-commits mailing list