[llvm] [AArch64] Disable loop alignment for Windows targets (PR #67894)
David Spickett via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 2 06:13:22 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:
I wondered if it was just redundant but if it's the way to trigger the right path then it's fine.
https://github.com/llvm/llvm-project/pull/67894
More information about the llvm-commits
mailing list