[PATCH] D137719: [clang] Missed rounding mode use in constant evaluation

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 16 11:59:37 PST 2022


aaron.ballman added a reviewer: jcranmer-intel.
aaron.ballman added a subscriber: jcranmer-intel.
aaron.ballman added a comment.

The changes look correct to me, but adding @jcranmer-intel for floating-point expertise.



================
Comment at: clang/test/AST/const-fpfeatures.c:37
 float _Complex C1d = C0;
 // CHECK: @C1d = {{.*}} { float, float } { float 1.000000e+00, float 1.000000e+00 }
----------------
Should we add a test without the `-fexperimental-strict-floating-point` on the RUN line?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137719/new/

https://reviews.llvm.org/D137719



More information about the cfe-commits mailing list