[clang] [llvm] [SystemZ] Add i128 support for z/OS XPLINK64 ABI (PR #223026)

Ulrich Weigand via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 17 07:02:33 PDT 2026


================
@@ -1900,11 +1900,12 @@ static SDValue convertLocVTToValVT(SelectionDAG &DAG, const SDLoc &DL,
   if (VA.isExtInLoc())
     Value = DAG.getNode(ISD::TRUNCATE, DL, VA.getValVT(), Value);
   else if (VA.getLocInfo() == CCValAssign::BCvt) {
-    // If this is a short vector argument loaded from the stack,
-    // extend from i64 to full vector size and then bitcast.
+    // If the argument is a short vector loaded from the stack,
+    // extend it from i64 to the full vector size and then perform a bitcast.
     assert(VA.getLocVT() == MVT::i64);
     assert(VA.getValVT().isVector());
-    Value = DAG.getBuildVector(MVT::v2i64, DL, {Value, DAG.getUNDEF(MVT::i64)});
+    Value =
+        DAG.getBuildVector(MVT::v2i64, DL, {Value, DAG.getUNDEF(MVT::i64)});
----------------
uweigand wrote:

These no-op changes shouldn't be necessary.

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


More information about the cfe-commits mailing list