We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36782f4 commit 5076be4Copy full SHA for 5076be4
llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
@@ -2497,7 +2497,9 @@ bool AArch64InstrInfo::expandPostRAPseudo(MachineInstr &MI) const {
2497
.addMemOperand(*MI.memoperands_begin());
2498
}
2499
2500
- // To match MSVC
+ // To match MSVC. Unlike x86_64 which uses xor instruction to mix the cookie,
2501
+ // we use sub instruction to mix the cookie on aarch64 for keeping the
2502
+ // existing inlining logic intact.
2503
if (Subtarget.getTargetTriple().isOSMSVCRT() &&
2504
!Subtarget.getTargetLowering()
2505
->getTargetMachine()
0 commit comments