[clang] [CIR] Add X86 prefetch builtins (PR #168051)

Bruno Cardoso Lopes via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 21 15:40:30 PST 2025


================
@@ -540,12 +540,20 @@ RValue CIRGenFunction::emitBuiltinExpr(const GlobalDecl &gd, unsigned builtinID,
   }
 
   // Now see if we can emit a target-specific builtin.
-  if (mlir::Value v = emitTargetBuiltinExpr(builtinID, e, returnValue)) {
+  std::optional<mlir::Value> valueOpt =
----------------
bcardosolopes wrote:

See other comment!

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


More information about the cfe-commits mailing list