aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorKostiantyn Lazukin <konstantin.lazukin@gmail.com>2025-04-16 17:54:42 +0100
committerGitHub <noreply@github.com>2025-04-16 09:54:42 -0700
commit72506eb37d9440d32e6dada187785b06aecb415c (patch)
tree137c76bc7213f4eb5b67eefb8271cdf6c2634901 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent726a5c2c57c486e69df2dfc296482e1d8014ab62 (diff)
downloadllvm-72506eb37d9440d32e6dada187785b06aecb415c.zip
llvm-72506eb37d9440d32e6dada187785b06aecb415c.tar.gz
llvm-72506eb37d9440d32e6dada187785b06aecb415c.tar.bz2
[compiler-rt] Fix `addtf3_test.c` being skipped due to misplaced include (#134106)
[compiler-rt] The test `addtf3_test.c` is currently guarded by `#if defined(CRT_HAS_IEEE_TF)`, a macro that is declared in `int_lib.h`. However, `int_lib.h` is included *after* the preprocessor check, which results in the macro not being defined in time and causes the test to always be skipped. This patch moves the includes of `fp_test.h` and `int_lib.h` to the top of the file so that `CRT_HAS_IEEE_TF` is defined before it is checked. Co-authored-by: Kostiantyn Lazukin <koslaz01@ip-10-252-21-142.eu-west-1.compute.internal>
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions