Skip to content

Commit 1b3fc75

Browse files
Revert "[LLVM][AArch64] Enable SVEIntrinsicOpts at all optimisation levels."
This reverts commit 886d98e.
1 parent 886d98e commit 1b3fc75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AArch64/AArch64TargetMachine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ void AArch64PassConfig::addIRPasses() {
588588

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

594594
// Cmpxchg instructions are often used with a subsequent comparison to

0 commit comments

Comments
 (0)