[clang] [llvm] [SystemZ] Enable -fpatchable-function-entry=M, N (PR #178191)

Ulrich Weigand via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 27 08:30:19 PST 2026


================
@@ -909,26 +909,44 @@ void SystemZAsmPrinter::LowerPATCHABLE_FUNCTION_ENTER(
   //
   // Update compiler-rt/lib/xray/xray_s390x.cpp accordingly when number
   // of instructions change.
-  bool HasVectorFeature =
----------------
uweigand wrote:

All the xray specific comments should stay with the xray code.   Also, if you just "return" in the patchable-function-entry case (like x86), you don't need to re-indent all the xray code in the first place.

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


More information about the cfe-commits mailing list