mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
When the target-independent DAGCombiner inferred a higher alignment for a load,
it would replace the load with one with the higher alignment. However, it did not place the new load in the worklist, which prevented later DAG combines in the same phase (for example, target-specific combines) from ever seeing it. This patch corrects that oversight, and updates some tests whose output changed due to slightly different DAGCombine outputs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174343 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -178,7 +178,8 @@ define void @check_i128_stackalign(i32 %val0, i32 %val1, i32 %val2, i32 %val3,
|
||||
; Nothing local on stack in current codegen, so first stack is 16 away
|
||||
; CHECK: ldr {{x[0-9]+}}, [sp, #16]
|
||||
; Important point is that we address sp+24 for second dword
|
||||
; CHECK: ldr {{x[0-9]+}}, [sp, #24]
|
||||
; CHECK: add [[REG:x[0-9]+]], sp, #16
|
||||
; CHECK: ldr {{x[0-9]+}}, {{\[}}[[REG]], #8]
|
||||
ret void
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user