[clang] [clang] Macro for constant rounding mode (PR #92699)
Serge Pavlov via cfe-commits
cfe-commits at lists.llvm.org
Mon May 20 01:44:51 PDT 2024
================
@@ -0,0 +1,55 @@
+// RUN: %clang_cc1 -emit-llvm -triple i386-linux -Wno-unknown-pragmas %s -o - | FileCheck %s
----------------
spavloff wrote:
No, this macro is managed by the code in Sema, because pragma FENV_ROUND is processed there. If only `-E` is specified, __ROUNDING_MODE__ is always an empty string. We handle __FLT_EVAL_METHOD__ similarly.
https://github.com/llvm/llvm-project/pull/92699
More information about the cfe-commits
mailing list