[all-commits] [llvm/llvm-project] 0daf9b: [X86][LegalizeTypes] Add SoftPromoteHalf support S...
topperc via All-commits
all-commits at lists.llvm.org
Tue Feb 11 22:30:40 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 0daf9b8e41327b1511b2bbc272184ff4fdb8de79
https://github.com/llvm/llvm-project/commit/0daf9b8e41327b1511b2bbc272184ff4fdb8de79
Author: Craig Topper <craig.topper at gmail.com>
Date: 2020-02-11 (Tue, 11 Feb 2020)
Changed paths:
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/include/llvm/CodeGen/SelectionDAGNodes.h
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.h
M llvm/lib/Target/X86/X86InstrAVX512.td
M llvm/lib/Target/X86/X86InstrFragmentsSIMD.td
M llvm/lib/Target/X86/X86InstrSSE.td
Log Message:
-----------
[X86][LegalizeTypes] Add SoftPromoteHalf support STRICT_FP_EXTEND and STRICT_FP_ROUND
This adds a strict version of FP16_TO_FP and FP_TO_FP16 and uses
them to implement soft promotion for the half type. This is
enough to provide basic support for __fp16 with strictfp.
Add the necessary X86 support to use VCVTPS2PH/VCVTPH2PS when F16C
is enabled.
More information about the All-commits
mailing list