Skip to content

Commit 886d98e

Browse files
[LLVM][AArch64] Enable SVEIntrinsicOpts at all optimisation levels.
1 parent ced15cd commit 886d98e

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::Aggressive)
591+
TM->getOptLevel() != CodeGenOptLevel::None)
592592
addPass(createSVEIntrinsicOptsPass());
593593

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

0 commit comments

Comments
 (0)