diff options
author | Phoebe Wang <phoebe.wang@intel.com> | 2022-07-22 07:56:29 +0800 |
---|---|---|
committer | Phoebe Wang <phoebe.wang@intel.com> | 2022-07-22 08:36:05 +0800 |
commit | 02fe96b24018bb8ce65cb264e0621459507cf989 (patch) | |
tree | 6f6371d259d0c098b2288dab308bdd0dd10ea447 /clang/lib/Lex/ModuleMap.cpp | |
parent | 02a25279aedcd959d060bba585adc0fe1cec3782 (diff) | |
download | llvm-02fe96b24018bb8ce65cb264e0621459507cf989.zip llvm-02fe96b24018bb8ce65cb264e0621459507cf989.tar.gz llvm-02fe96b24018bb8ce65cb264e0621459507cf989.tar.bz2 |
[X86][FP16] Do not split FP64->FP16 to FP64->FP32->FP16
Truncation from double to half is not always identical to truncating to float first and then to half. https://godbolt.org/z/56s9517hd
On the other hand, expanding to float and then to double is always identical to expanding to double directly. https://godbolt.org/z/Ye8vbYPnY
Reviewed By: RKSimon, skan
Differential Revision: https://reviews.llvm.org/D130151
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions