Skip to content

Commit

Permalink
Revert "[LLVM][AArch64] Enable SVEIntrinsicOpts at all optimisation l…
Browse files Browse the repository at this point in the history
…evels."

This reverts commit 886d98e.
  • Loading branch information
paulwalker-arm committed Oct 9, 2024
1 parent 886d98e commit 1b3fc75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ void AArch64PassConfig::addIRPasses() {

// Expand any SVE vector library calls that we can't code generate directly.
if (EnableSVEIntrinsicOpts &&
TM->getOptLevel() != CodeGenOptLevel::None)
TM->getOptLevel() == CodeGenOptLevel::Aggressive)
addPass(createSVEIntrinsicOptsPass());

// Cmpxchg instructions are often used with a subsequent comparison to
Expand Down

0 comments on commit 1b3fc75

Please sign in to comment.