diff options
| author | Alex Richardson <alexrichardson@google.com> | 2023-07-24 16:41:44 -0700 |
|---|---|---|
| committer | Alex Richardson <alexrichardson@google.com> | 2023-07-24 17:19:11 -0700 |
| commit | e3374c8c31fb54a2c8df6c906884e14f1c8a2209 (patch) | |
| tree | 1e9f811d00689ac63af09759e2ab2f25107333d5 /mlir/lib/Bytecode/Reader/BytecodeReader.cpp | |
| parent | b1149400122be1a9c713f3c31674a4f9b765c2d4 (diff) | |
| download | llvm-e3374c8c31fb54a2c8df6c906884e14f1c8a2209.zip llvm-e3374c8c31fb54a2c8df6c906884e14f1c8a2209.tar.gz llvm-e3374c8c31fb54a2c8df6c906884e14f1c8a2209.tar.bz2 | |
[builtins] Avoid using CRT_LDBL_128BIT in implementation. NFC
Currently the *tf builtin functions can only be built if long double is an
IEEE float, which prevents them from being available e.g. for x86 targets
(unlike libgcc which has them). This non-functional change prepares the
builtins library *tf functions for being able to target x86 by decoupling
their presence from CRT_LDBL_128BIT and instead checking for a
CRT_HAS_TF_MODE macro. This change is NFC since the CRT_HAS_TF_MODE is
currently only set if long double is an IEEE 128-bit float.
Reviewed By: compnerd
Differential Revision: https://reviews.llvm.org/D153812
Diffstat (limited to 'mlir/lib/Bytecode/Reader/BytecodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
