mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
Fix a typo about lowering AArch64 va_copy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201541 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7d2bb38164
commit
47f6b173f5
@ -3180,7 +3180,7 @@ AArch64TargetLowering::LowerSELECT_CC(SDValue Op, SelectionDAG &DAG) const {
|
|||||||
SDValue
|
SDValue
|
||||||
AArch64TargetLowering::LowerVACOPY(SDValue Op, SelectionDAG &DAG) const {
|
AArch64TargetLowering::LowerVACOPY(SDValue Op, SelectionDAG &DAG) const {
|
||||||
const Value *DestSV = cast<SrcValueSDNode>(Op.getOperand(3))->getValue();
|
const Value *DestSV = cast<SrcValueSDNode>(Op.getOperand(3))->getValue();
|
||||||
const Value *SrcSV = cast<SrcValueSDNode>(Op.getOperand(3))->getValue();
|
const Value *SrcSV = cast<SrcValueSDNode>(Op.getOperand(4))->getValue();
|
||||||
|
|
||||||
// We have to make sure we copy the entire structure: 8+8+8+4+4 = 32 bytes
|
// We have to make sure we copy the entire structure: 8+8+8+4+4 = 32 bytes
|
||||||
// rather than just 8.
|
// rather than just 8.
|
||||||
|
@ -179,24 +179,19 @@ define void @test_va_copy() {
|
|||||||
|
|
||||||
; Check beginning and end again:
|
; Check beginning and end again:
|
||||||
|
|
||||||
; CHECK: ldr [[BLOCK:x[0-9]+]], [{{x[0-9]+}}, #:lo12:var]
|
|
||||||
; CHECK: add x[[SRC_LIST:[0-9]+]], {{x[0-9]+}}, #:lo12:var
|
; CHECK: add x[[SRC_LIST:[0-9]+]], {{x[0-9]+}}, #:lo12:var
|
||||||
; CHECK-NOFP: ldr [[BLOCK:x[0-9]+]], [{{x[0-9]+}}, #:lo12:var]
|
|
||||||
; CHECK-NOFP: add x[[SRC_LIST:[0-9]+]], {{x[0-9]+}}, #:lo12:var
|
|
||||||
|
|
||||||
; CHECK: str [[BLOCK]], [{{x[0-9]+}}, #:lo12:second_list]
|
|
||||||
|
|
||||||
; CHECK: ldr [[BLOCK:x[0-9]+]], [x[[SRC_LIST]], #24]
|
|
||||||
; CHECK: add x[[DEST_LIST:[0-9]+]], {{x[0-9]+}}, #:lo12:second_list
|
; CHECK: add x[[DEST_LIST:[0-9]+]], {{x[0-9]+}}, #:lo12:second_list
|
||||||
|
; CHECK: ldr [[BLOCK1:x[0-9]+]], [{{x[0-9]+}}, #:lo12:var]
|
||||||
|
; CHECK: ldr [[BLOCK2:x[0-9]+]], [x[[SRC_LIST]], #24]
|
||||||
|
; CHECK: str [[BLOCK1]], [{{x[0-9]+}}, #:lo12:second_list]
|
||||||
|
; CHECK: str [[BLOCK2]], [x[[DEST_LIST]], #24]
|
||||||
|
|
||||||
; CHECK: str [[BLOCK]], [x[[DEST_LIST]], #24]
|
; CHECK-NOFP: add x[[SRC_LIST:[0-9]+]], {{x[0-9]+}}, #:lo12:var
|
||||||
|
|
||||||
; CHECK-NOFP: str [[BLOCK]], [{{x[0-9]+}}, #:lo12:second_list]
|
|
||||||
|
|
||||||
; CHECK-NOFP: ldr [[BLOCK:x[0-9]+]], [x[[SRC_LIST]], #24]
|
|
||||||
; CHECK-NOFP: add x[[DEST_LIST:[0-9]+]], {{x[0-9]+}}, #:lo12:second_list
|
; CHECK-NOFP: add x[[DEST_LIST:[0-9]+]], {{x[0-9]+}}, #:lo12:second_list
|
||||||
|
; CHECK-NOFP: ldr [[BLOCK1:x[0-9]+]], [{{x[0-9]+}}, #:lo12:var]
|
||||||
; CHECK-NOFP: str [[BLOCK]], [x[[DEST_LIST]], #24]
|
; CHECK-NOFP: ldr [[BLOCK2:x[0-9]+]], [x[[SRC_LIST]], #24]
|
||||||
|
; CHECK-NOFP: str [[BLOCK1]], [{{x[0-9]+}}, #:lo12:second_list]
|
||||||
|
; CHECK-NOFP: str [[BLOCK2]], [x[[DEST_LIST]], #24]
|
||||||
|
|
||||||
ret void
|
ret void
|
||||||
; CHECK: ret
|
; CHECK: ret
|
||||||
|
Loading…
Reference in New Issue
Block a user