Skip to content

Commit

Permalink
[DBPWS-1149] test(FrameLowering): fix HDP-1144 XFAIL tests
Browse files Browse the repository at this point in the history
There were no CHECK lines in the code, which made FileCheck return an
error, triggering the XFAIL.
  • Loading branch information
gargaroff authored and konstantinschwarz committed May 4, 2020
1 parent 2cc49da commit ed5fff7
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
6 changes: 5 additions & 1 deletion llvm/test/CodeGen/TriCore/HDP-1144-01.ll
@@ -1,5 +1,4 @@
; RUN: llc -mtriple=tricore -o - %s | FileCheck %s
; XFAIL: *

; This is a test case from the GCC bug HDP-1144.
;
Expand All @@ -20,6 +19,11 @@
; a: 20 40 sub.a %sp,64 ; The stack frame is reserved just at this point.
; c: 40 5f mov.aa %a15,%a5

; CHECK-LABEL: LocalFunction:
; CHECK: # %bb.0: # %entry
; CHECK-NEXT: mov.aa %a14, %a10
; CHECK-NEXT: lea %a10, [%a10], -16

; ModuleID = 'HDP-1144-01.c'
source_filename = "HDP-1144-01.c"
target datalayout = "e-m:e-i64:32-p:32:32-f64:32-n32-a:0:32-S64"
Expand Down
6 changes: 5 additions & 1 deletion llvm/test/CodeGen/TriCore/HDP-1144-02.ll
@@ -1,5 +1,4 @@
; RUN: llc -mtriple=tricore -o - %s | FileCheck %s
; XFAIL: *

; This is a test case from the GCC bug HDP-1144.
;
Expand All @@ -20,6 +19,11 @@
; a: 20 40 sub.a %sp,64 ; The stack frame is reserved just at this point.
; c: 40 5f mov.aa %a15,%a5

; CHECK-LABEL: LocalFunction:
; CHECK: # %bb.0: # %entry
; CHECK-NEXT: mov.aa %a14, %a10
; CHECK-NEXT: lea %a10, [%a10], -32

; ModuleID = 'HDP-1144-02.c'
source_filename = "HDP-1144-02.c"
target datalayout = "e-m:e-i64:32-p:32:32-f64:32-n32-a:0:32-S64"
Expand Down
6 changes: 5 additions & 1 deletion llvm/test/CodeGen/TriCore/HDP-1144-03.ll
@@ -1,5 +1,4 @@
; RUN: llc -mtriple=tricore -o - %s | FileCheck %s
; XFAIL: *

; This is a test case from the GCC bug HDP-1144.
;
Expand All @@ -20,6 +19,11 @@
; a: 20 40 sub.a %sp,64 ; The stack frame is reserved just at this point.
; c: 40 5f mov.aa %a15,%a5

; CHECK-LABEL: LocalFunction:
; CHECK: # %bb.0: # %entry
; CHECK-NEXT: mov.aa %a14, %a10
; CHECK-NEXT: lea %a10, [%a10], -40

; ModuleID = 'HDP-1144-03.c'
source_filename = "HDP-1144-03.c"
target datalayout = "e-m:e-i64:32-p:32:32-f64:32-n32-a:0:32-S64"
Expand Down
6 changes: 5 additions & 1 deletion llvm/test/CodeGen/TriCore/HDP-1144-04.ll
@@ -1,5 +1,4 @@
; RUN: llc -mtriple=tricore -o - %s | FileCheck %s
; XFAIL: *

; This is a test case from the GCC bug HDP-1144.
;
Expand All @@ -20,6 +19,11 @@
; a: 20 40 sub.a %sp,64 ; The stack frame is reserved just at this point.
; c: 40 5f mov.aa %a15,%a5

; CHECK-LABEL: LocalFunction:
; CHECK: # %bb.0: # %entry
; CHECK-NEXT: mov.aa %a14, %a10
; CHECK-NEXT: lea %a10, [%a10], -40

; ModuleID = 'HDP-1144-04.c'
source_filename = "HDP-1144-04.c"
target datalayout = "e-m:e-i64:32-p:32:32-f64:32-n32-a:0:32-S64"
Expand Down

0 comments on commit ed5fff7

Please sign in to comment.