diff options
author | Stefan Pintilie <stefanp@ca.ibm.com> | 2022-12-21 08:47:55 -0600 |
---|---|---|
committer | Stefan Pintilie <stefanp@ca.ibm.com> | 2023-01-04 12:52:30 -0600 |
commit | c1d0118459c814824b8a4c8f423b6b91d16af785 (patch) | |
tree | af4f75a47b88971a6f36d0cafe09f6f27152c5b9 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 9560ac3a250822536fd264a72b5115d7d964e6f3 (diff) | |
download | llvm-c1d0118459c814824b8a4c8f423b6b91d16af785.zip llvm-c1d0118459c814824b8a4c8f423b6b91d16af785.tar.gz llvm-c1d0118459c814824b8a4c8f423b6b91d16af785.tar.bz2 |
[PowerPC] Materialize floats in the range [-16.0, 15.0].
Previous to this patch we only materialized 0.0 and all other floating point
values would be loaded from the TOC. This patch adds materialization for the
floating point values that can be represented as integers in [-16.0, 15.0].
For example we will now materialize 3.0 and -5.0 but not 4.7.
Reviewed By: nemanjai, lei, #powerpc
Differential Revision: https://reviews.llvm.org/D138844
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions