[llvm-branch-commits] [llvm] release/23.x: [StackColoring] Update IR when merging stack slots of differing alignment (#237412) (PR #237897)
Nathan Corbyn via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Nov 2 07:57:35 PST 2026
================
@@ -0,0 +1,33 @@
+; RUN: llc -filetype=null %s -mtriple=arm64-apple-darwin -misched-print-dags 2>&1 | FileCheck %s
+; REQUIRES: asserts
+
+; Test that stack coloring merging allocas of differing alignments does not
+; corrupt BasicAA results.
+
+define <3 x float> @test_stack_coloring_maintains_alignment_metadata() {
+ ; CHECK-LABEL: test_stack_coloring_maintains_alignment_metadata:%bb.0
----------------
cofibrant wrote:
```suggestion
```
https://github.com/llvm/llvm-project/pull/237897
More information about the llvm-branch-commits
mailing list