[clang] [llvm] target ABI: improve call parameters extensions handling (PR #100757)

Nikita Popov via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 18 07:13:24 PDT 2024


================
@@ -9800,3 +9817,45 @@ SDValue SystemZTargetLowering::lowerVECREDUCE_ADD(SDValue Op,
       ISD::EXTRACT_VECTOR_ELT, DL, VT, DAG.getBitcast(OpVT, Op),
       DAG.getConstant(OpVT.getVectorNumElements() - 1, DL, MVT::i32));
 }
+
+// Only consider a function fully internal as long as it has local linkage
+// and is not used in any other way than acting as the called function at
+// call sites.  TODO: Remove this when/if all internal functions adhere to
+// the ABI.
----------------
nikic wrote:

We're generally free to change the ABI of internal functions, including in ways that do not match the system ABI. So I don't think this TODO can ever really be resolved.

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


More information about the cfe-commits mailing list