[clang] [llvm] [SystemZ] Add support for half (fp16) (PR #109164)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 7 00:16:35 PDT 2024


================
@@ -1597,6 +1618,15 @@ bool SystemZTargetLowering::splitValueIntoRegisterParts(
     return true;
   }
 
+  // Convert f16 to f32 (Out-arg).
+  if (PartVT == MVT::f16) {
+    assert(NumParts == 1 && "");
----------------
arsenm wrote:

Remove && "" or make it a meaningful message 

https://github.com/llvm/llvm-project/pull/109164


More information about the llvm-commits mailing list