commit | bd4486933bf4803a8f9b34b4a4d313ff1a63a2ee | [log] [tgz] |
---|---|---|
author | Serge Pavlov <sepavloff@gmail.com> | Tue Apr 23 14:14:02 2024 +0700 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Apr 23 00:21:18 2024 -0700 |
tree | 4f5434b393d2dbff5084fc207f7a1f1f78e508d8 | |
parent | 9509ac7473abb714a6b4bef60a1045c048a06c0d [diff] |
[clang] Set correct FPOptions if attribute 'optnone' presents (#85605) Attribute `optnone` must turn off all optimizations including fast-math ones. Actually AST nodes in the 'optnone' function still had fast-math flags. This change implements fixing FP options before function body is parsed. GitOrigin-RevId: a04624206ddf03dc54d5c372e7eac13575b4124b