Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit c337eb7

Browse files
manman-renManman Ren
authored andcommitted
swifterror: fix up a testing case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266000 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 9556d6f commit c337eb7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/CodeGen/AArch64/swifterror.ll

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-apple-ios -disable-post-ra | FileCheck --check-prefix=CHECK-APPLE %s
2-
; RUN: llc -verify-machineinstrs -O0 < %s -mtriple=aarch64-apple-ios -disable-post-ra | FileCheck --check-prefix=CHECK-O0 %s
1+
; RUN: llc -verify-machineinstrs -disable-fp-elim < %s -mtriple=aarch64-apple-ios -disable-post-ra | FileCheck --check-prefix=CHECK-APPLE %s
2+
; RUN: llc -verify-machineinstrs -disable-fp-elim -O0 < %s -mtriple=aarch64-apple-ios -disable-post-ra | FileCheck --check-prefix=CHECK-O0 %s
33

44
declare i8* @malloc(i64)
55
declare void @free(i8*)
@@ -300,12 +300,12 @@ define float @foo_vararg(%swift_error** swifterror %error_ptr_ref, ...) {
300300
; CHECK-APPLE: orr w0, wzr, #0x10
301301
; CHECK-APPLE: malloc
302302
; CHECK-APPLE: orr [[ID:w[0-9]+]], wzr, #0x1
303-
; CHECK-FIXMEAPPLE: add [[ARGS:x[0-9]+]], [[TMP:x[0-9]+]], #16
303+
; CHECK-APPLE: add [[ARGS:x[0-9]+]], [[TMP:x[0-9]+]], #16
304304
; CHECK-APPLE: strb [[ID]], [x0, #8]
305305

306306
; First vararg
307-
; CHECK-FIXMEAPPLE-DAG: orr {{x[0-9]+}}, [[ARGS]], #0x8
308-
; CHECK-FIXMEAPPLE-DAG: ldr {{w[0-9]+}}, [{{.*}}[[TMP]], #16]
307+
; CHECK-APPLE-DAG: orr {{x[0-9]+}}, [[ARGS]], #0x8
308+
; CHECK-APPLE-DAG: ldr {{w[0-9]+}}, [{{.*}}[[TMP]], #16]
309309
; CHECK-APPLE: add {{x[0-9]+}}, {{x[0-9]+}}, #8
310310
; Second vararg
311311
; CHECK-APPLE: ldr {{w[0-9]+}}, [{{x[0-9]+}}]

0 commit comments

Comments
 (0)