[llvm] [AArch64] Disable loop alignment for Windows targets (PR #67894)
David Spickett via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 2 05:50:27 PDT 2023
================
@@ -0,0 +1,21 @@
+; RUN: llc < %s -mtriple=aarch64-windows | FileCheck %s --check-prefix=WINDOWS
+; RUN: llc < %s -mtriple=aarch64-linux | FileCheck %s --check-prefix=LINUX
+
+define dso_local void @b() #0 {
+entry:
+ br label %for.cond
+
+for.cond:
+ tail call void @a()
+ br label %for.cond
+}
+
+declare dso_local void @a(...)
+
+attributes #0 = { noreturn nounwind uwtable "tune-cpu"="cortex-a53" }
----------------
DavidSpickett wrote:
Nit but do you need a tune-cpu setting?
https://github.com/llvm/llvm-project/pull/67894
More information about the llvm-commits
mailing list