llvm.org GIT mirror llvm / 70f3cae
Merging r201541: ------------------------------------------------------------------------ r201541 | jiangning.liu | 2014-02-17 21:37:42 -0500 (Mon, 17 Feb 2014) | 2 lines Fix a typo about lowering AArch64 va_copy. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@205902 91177308-0d34-0410-b5e6-96231b3b80d8 Tom Stellard 6 years ago
2 changed file(s) with 11 addition(s) and 16 deletion(s). Raw diff Collapse all Expand all
27812781 SDValue
27822782 AArch64TargetLowering::LowerVACOPY(SDValue Op, SelectionDAG &DAG) const {
27832783 const Value *DestSV = cast(Op.getOperand(3))->getValue();
2784 const Value *SrcSV = cast(Op.getOperand(3))->getValue();
2784 const Value *SrcSV = cast(Op.getOperand(4))->getValue();
27852785
27862786 // We have to make sure we copy the entire structure: 8+8+8+4+4 = 32 bytes
27872787 // rather than just 8.
178178
179179 ; Check beginning and end again:
180180
181 ; CHECK: ldr [[BLOCK:x[0-9]+]], [{{x[0-9]+}}, #:lo12:var]
182181 ; CHECK: add x[[SRC_LIST:[0-9]+]], {{x[0-9]+}}, #:lo12:var
183 ; CHECK-NOFP: ldr [[BLOCK:x[0-9]+]], [{{x[0-9]+}}, #:lo12:var]
182 ; CHECK: add x[[DEST_LIST:[0-9]+]], {{x[0-9]+}}, #:lo12:second_list
183 ; CHECK: ldr [[BLOCK1:x[0-9]+]], [{{x[0-9]+}}, #:lo12:var]
184 ; CHECK: ldr [[BLOCK2:x[0-9]+]], [x[[SRC_LIST]], #24]
185 ; CHECK: str [[BLOCK1]], [{{x[0-9]+}}, #:lo12:second_list]
186 ; CHECK: str [[BLOCK2]], [x[[DEST_LIST]], #24]
187
184188 ; CHECK-NOFP: add x[[SRC_LIST:[0-9]+]], {{x[0-9]+}}, #:lo12:var
185
186 ; CHECK: str [[BLOCK]], [{{x[0-9]+}}, #:lo12:second_list]
187
188 ; CHECK: ldr [[BLOCK:x[0-9]+]], [x[[SRC_LIST]], #24]
189 ; CHECK: add x[[DEST_LIST:[0-9]+]], {{x[0-9]+}}, #:lo12:second_list
190
191 ; CHECK: str [[BLOCK]], [x[[DEST_LIST]], #24]
192
193 ; CHECK-NOFP: str [[BLOCK]], [{{x[0-9]+}}, #:lo12:second_list]
194
195 ; CHECK-NOFP: ldr [[BLOCK:x[0-9]+]], [x[[SRC_LIST]], #24]
196189 ; CHECK-NOFP: add x[[DEST_LIST:[0-9]+]], {{x[0-9]+}}, #:lo12:second_list
197
198 ; CHECK-NOFP: str [[BLOCK]], [x[[DEST_LIST]], #24]
190 ; CHECK-NOFP: ldr [[BLOCK1:x[0-9]+]], [{{x[0-9]+}}, #:lo12:var]
191 ; CHECK-NOFP: ldr [[BLOCK2:x[0-9]+]], [x[[SRC_LIST]], #24]
192 ; CHECK-NOFP: str [[BLOCK1]], [{{x[0-9]+}}, #:lo12:second_list]
193 ; CHECK-NOFP: str [[BLOCK2]], [x[[DEST_LIST]], #24]
199194
200195 ret void
201196 ; CHECK: ret