[clang] [compiler-rt] [llvm] [SystemZ] Add support for half (fp16) (PR #109164)
Ulrich Weigand via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 19 05:49:25 PST 2024
================
@@ -102,6 +102,7 @@ SystemZTargetLowering::SystemZTargetLowering(const TargetMachine &TM,
addRegisterClass(MVT::i32, &SystemZ::GR32BitRegClass);
addRegisterClass(MVT::i64, &SystemZ::GR64BitRegClass);
if (!useSoftFloat()) {
+ addRegisterClass(MVT::f16, &SystemZ::FP16BitRegClass);
----------------
uweigand wrote:
Do we want to add a VR16BitRegClass if we have vector support?
https://github.com/llvm/llvm-project/pull/109164
More information about the cfe-commits
mailing list