Skip to content

Commit da98be1

Browse files
[CIR] Only emit FP math intrinsics when precision/errno settings allow it (#169424)
Depending on the compiler CLI options, attributes near the call site and pragmas we might not be allowed to emit a call to an intrinsic (e.g. if it does not set errno and we expect it to be set). This is checked by `shouldGenerateFPMathIntrinsic` (shared with classing codegen). This commit adds this check and additionally adds remaining cases in the switch statement for math builtins.
1 parent 9f4f13a commit da98be1

File tree

2 files changed

+469
-65
lines changed

2 files changed

+469
-65
lines changed

0 commit comments

Comments
 (0)