diff options
author | Rainer Orth <ro@gcc.gnu.org> | 2023-10-24 19:14:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-24 19:14:33 +0200 |
commit | ad7611dafe577720e8b307da94acfb4c38bad2d8 (patch) | |
tree | a6294475f6f4121d5489862c76bafc1b5e4a4fb8 /llvm/lib/CodeGen/StackProtector.cpp | |
parent | 9f592cbc18e13c918fe125c26ca881d303e0ff3d (diff) | |
download | llvm-ad7611dafe577720e8b307da94acfb4c38bad2d8.zip llvm-ad7611dafe577720e8b307da94acfb4c38bad2d8.tar.gz llvm-ad7611dafe577720e8b307da94acfb4c38bad2d8.tar.bz2 |
[builtins] Fix floattitf.c etc. compilation on Solaris/SPARC (#70058)
69660ccf2ae402b02799efed072afd8ecf5a6eb0 broke the [Solaris/sparcv9
buildbot](https://lab.llvm.org/staging/#/builders/12/builds/264):
`compiler-rt/lib/builtins/int_to_fp.h` unconditionally uses `*int128_t`
which don't exist on 32-bit SPARC.
As suggested in https://github.com/llvm/llvm-project/pull/67540, this
patch fixes this by moving the `CRT_HAS_TF_MODE` guard up which does the
necessary checks.
Tested on `sparcv9-sun-solaris2.11`.
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions