[llvm] [AArch64][CodeGen] Optimize security cookie check with New Fixup Pass (PR #121938)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 24 15:23:29 PST 2025
================
@@ -812,6 +812,7 @@ void AArch64PassConfig::addPreRegAlloc() {
}
if (TM->getOptLevel() != CodeGenOptLevel::None && EnableMachinePipeliner)
addPass(&MachinePipelinerID);
+ addPass(createAArch64WinFixupBufferSecurityCheckPass());
----------------
efriedma-quic wrote:
Should we check `TM->getOptLevel()`? Maybe also move the `isWindowsMSVCEnvironment()` check here.
https://github.com/llvm/llvm-project/pull/121938
More information about the llvm-commits
mailing list