[clang] [llvm] [SystemZ] Global Stackprotector and associated location section (PR #169317)
Dominik Steenken via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 2 02:17:23 PST 2026
================
@@ -3039,6 +3040,12 @@ static bool isNaturalMemoryOperand(SDValue Op, unsigned ICmpType) {
// Return true if it is better to swap the operands of C.
static bool shouldSwapCmpOperands(const Comparison &C) {
+ // swap operands of COMPARE_STACK_GUARD if loading the reference value
+ // is Op0.
+ if ((C.Opcode == SystemZISD::COMPARE_STACKGUARD) && C.Op0.isMachineOpcode() &&
----------------
dominik-steenken wrote:
removed
https://github.com/llvm/llvm-project/pull/169317
More information about the cfe-commits
mailing list