[clang] [CIR] Set up FP-constrained state in startFunction (PR #198362)
via cfe-commits
cfe-commits at lists.llvm.org
Tue May 19 12:48:14 PDT 2026
================
@@ -777,6 +783,8 @@ cir::FuncOp CIRGenFunction::generateCode(clang::GlobalDecl gd, cir::FuncOp fn,
// Emit the standard function prologue.
startFunction(gd, retTy, fn, funcType, args, loc, bodyRange.getBegin());
+ if (skipFunctionBody)
----------------
adams381 wrote:
Dropped skipFunctionBody. startFunction calls errorNYI for UsesFPIntrin/StrictFP; generateCode returns right after the prologue on the same predicate so we never emit the body for that function. TU-wide hasErrorOccurred() was what broke parallel.c; this stays per-function without a stmt flag. NYI test removed.
https://github.com/llvm/llvm-project/pull/198362
More information about the cfe-commits
mailing list