[clang] [clang] Set FPOptions at the beginning of CompoundStmt (PR #111654)

John McCall via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 17 22:07:09 PST 2024


rjmccall wrote:

I'm sorry if you've explained this before, but I thought our general approach was to just store the options in individual expressions, and CodeGen should in general already be paying attention to those options.  Is there a specific reason we also need to honor these at the compound statement level?  If so, is there an expected invariant we can take advantage of to avoid all the bookkeeping work we end up doing when creating and emitting individual expressions?

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


More information about the cfe-commits mailing list