[clang] [CIR] Upstream X86 builtin _mm_prefetch and _mm_clflush (PR #167401)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 10 15:52:22 PST 2025
================
@@ -2579,6 +2591,39 @@ def CIR_FuncOp : CIR_Op<"func", [
}];
}
+//===----------------------------------------------------------------------===//
+// LLVMIntrinsicCallOp
+//===----------------------------------------------------------------------===//
+
+def CIR_LLVMIntrinsicCallOp : CIR_Op<"llvm.intrinsic"> {
----------------
andykaylor wrote:
```suggestion
def CIR_LLVMIntrinsicCallOp : CIR_Op<"call_llvm_intrinsic"> {
```
The name used in the incubator is quite confusing. Generally, in MLIR operations, I expect `<dialect>.<op>` to represent a dialect qualified operation, so something like `cir.llvm.intrinsic` doesn't parse right in my mind since `cir` and `llvm` both look like dialect qualifiers.
https://github.com/llvm/llvm-project/pull/167401
More information about the cfe-commits
mailing list