Skip to content

Commit 779047f

Browse files
Update GetAotAssemblies.cs
1 parent fb6c931 commit 779047f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Xamarin.Android.Build.Tasks/Tasks/GetAotAssemblies.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ public override Task RunTaskAsync ()
6868
} else {
6969
assembly.SetMetadata ("AotArguments", $"asmwriter,temp-path={temp}{aotProfiles}");
7070
}
71-
// NOTE: JIT doesn't support simd, Profiled AOT would be mixed JIT & AOT
72-
if (EnableLLVM && Profiles != null && Profiles.Length > 0) {
71+
// NOTE: always disable simd when using LLVM
72+
if (EnableLLVM) {
7373
assembly.SetMetadata ("ProcessArguments", "-O=-simd");
7474
}
7575
}

0 commit comments

Comments
 (0)