[clang] [CIR] Support __builtin_nondeterministic_value (PR #206149)

Letu Ren via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 27 01:20:36 PDT 2026


================
@@ -851,6 +851,10 @@ class CIRGenBuilderTy : public cir::CIRBaseBuilderTy {
     return createVecShuffle(loc, vec1, poison, mask);
   }
 
+  mlir::Value createFreeze(mlir::Location loc, mlir::Value value) {
+    return cir::FreezeOp::create(*this, loc, value);
+  }
+
----------------
FantasqueX wrote:

Thanks for suggesting. Fixed.

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


More information about the cfe-commits mailing list