[llvm-branch-commits] [llvm] [AArch64] Let LoadStoreOptimizer handle renamable implicit-defs. (PR #174186)
Sander de Smalen via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jan 12 04:03:45 PST 2026
================
@@ -78,3 +78,32 @@ body: |
$q1 = ORRv16i8 $q5, killed $q5
RET_ReallyLR
...
+# Test that when the implicit-def is renamable, the loads/stores can still be
+# bundled together.
+---
+name: impdef_renamable
+tracksRegLiveness: true
+stack:
+ - { id: 0, name: '', type: default, offset: -8, size: 8, alignment: 8,
+ stack-id: default, callee-saved-register: '', callee-saved-restored: true,
+ local-offset: -8, debug-info-variable: '', debug-info-expression: '',
+ debug-info-location: '' }
+ - { id: 1, name: '', type: default, offset: -16, size: 8, alignment: 8,
+ stack-id: default, callee-saved-register: '', callee-saved-restored: true,
+ local-offset: -16, debug-info-variable: '', debug-info-expression: '',
+ debug-info-location: '' }
----------------
sdesmalen-arm wrote:
I added this to make it clear the two pointers don't alias, otherwise the test needs to be amended with LLVM IR that describes the pointers as being `noalias`.
https://github.com/llvm/llvm-project/pull/174186
More information about the llvm-branch-commits
mailing list