[llvm] [CodeGen] Consider imm offsets when sorting framerefs (PR #171012)

Anshil Gandhi via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 7 12:40:02 PST 2026


================
@@ -0,0 +1,1093 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 6
+# RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx950 -run-pass=localstackalloc -verify-machineinstrs -o - %s | FileCheck %s
+
+---
+name:            issue155902
+alignment:       1
+exposesReturnsTwice: false
+legalized:       false
+regBankSelected: false
+selected:        false
+failedISel:      false
+tracksRegLiveness: true
+hasWinCFI:       false
+noPhis:          false
+isSSA:           true
+noVRegs:         false
+hasFakeUses:     false
+callsEHReturn:   false
+callsUnwindInit: false
+hasEHContTarget: false
+hasEHScopes:     false
+hasEHFunclets:   false
+isOutlined:      false
+debugInstrRef:   false
+failsVerification: false
+tracksDebugUserValues: false
+registers:
+  - { id: 0, class: vgpr_32, preferred-register: '', flags: [  ] }
----------------
gandhi56 wrote:

Yup, I will rebase this PR on top of the precommit #171013 so that only the diff is visible.

https://github.com/llvm/llvm-project/pull/171012


More information about the llvm-commits mailing list