Skip to content

Commit

Permalink
[AVR] XFAIL a set of failing CodeGen tests
Browse files Browse the repository at this point in the history
There are about 3 underlying bugs causing the tests to fail.

On top of that, some tests just we're 'generic' enough. i.e. 32-bit
registers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294434 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
dylanmckay committed Feb 8, 2017
1 parent 5ddc432 commit f5cac02
Show file tree
Hide file tree
Showing 10 changed files with 33 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/CodeGen/Generic/2003-07-29-BadConstSbyte.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
; RUN: llc < %s

; Bug: PR31341
; XFAIL: avr

;; Date: Jul 29, 2003.
;; From: test/Programs/MultiSource/Ptrdist-bc
;; Function: ---
Expand Down
3 changes: 3 additions & 0 deletions test/CodeGen/Generic/2007-04-08-MultipleFrameIndices.ll
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
; PR1308
; PR1557

; Bug: PR31336
; XFAIL: avr

define i32 @stuff(i32, ...) {
%foo = alloca i8*
%bar = alloca i32*
Expand Down
2 changes: 2 additions & 0 deletions test/CodeGen/Generic/2007-12-17-InvokeAsm.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
; RUN: llc -no-integrated-as < %s

; XFAIL: avr

define fastcc void @bc__support__high_resolution_time__initialize_clock_rate() personality i32 (...)* @__gxx_personality_v0 {
entry:
invoke void asm "rdtsc\0A\09movl %eax, $0\0A\09movl %edx, $1", "=*imr,=*imr,~{dirflag},~{fpsr},~{flags},~{dx},~{ax}"( i32* null, i32* null )
Expand Down
4 changes: 4 additions & 0 deletions test/CodeGen/Generic/2011-07-07-ScheduleDAGCrash.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
; RUN: llc < %s

; Bug: PR31898
; XFAIL: avr

; This caused ScheduleDAG to crash in EmitPhysRegCopy when searching
; the uses of a copy to a physical register without ignoring non-data
; dependence, PR10220.
Expand Down
3 changes: 3 additions & 0 deletions test/CodeGen/Generic/MachineBranchProb.ll
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
; to fail.
; XFAIL: hexagon

; Bug: PR31899
; XFAIL: avr

; Make sure we have the correct weight attached to each successor.
define i32 @test2(i32 %x) nounwind uwtable readnone ssp {
; CHECK-LABEL: Machine code for function test2:
Expand Down
3 changes: 3 additions & 0 deletions test/CodeGen/Generic/inline-asm-mem-clobber.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
; RUN: llc -O2 -no-integrated-as < %s | FileCheck %s

; Test uses 32-bit registers which aren't supported on AVR.
; XFAIL: avr

@G = common global i32 0, align 4

define i32 @foo(i8* %p) nounwind uwtable {
Expand Down
5 changes: 5 additions & 0 deletions test/CodeGen/Generic/select-cc.ll
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
; RUN: llc < %s

; PR2504
; XFAIL: hexagon

; PR31338
; XFAIL: avr

define <2 x double> @vector_select(<2 x double> %x, <2 x double> %y) nounwind {
%x.lo = extractelement <2 x double> %x, i32 0 ; <double> [#uses=1]
%x.lo.ge = fcmp oge double %x.lo, 0.000000e+00 ; <i1> [#uses=1]
Expand Down
4 changes: 4 additions & 0 deletions test/CodeGen/Generic/v-split.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
; RUN: llc < %s

; Bug: PR31898
; XFAIL: avr

%f8 = type <8 x float>

define void @test_f8(%f8 *%P, %f8* %Q, %f8 *%S) {
Expand Down
3 changes: 3 additions & 0 deletions test/CodeGen/Generic/vector-redux.ll
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
; RUN: llc < %s -debug-only=isel -o /dev/null 2>&1 | FileCheck %s
; REQUIRES: asserts

; Bug: PR31898
; XFAIL: avr

@a = global [1024 x i32] zeroinitializer, align 16

define i32 @reduce_add() {
Expand Down
3 changes: 3 additions & 0 deletions test/CodeGen/Generic/vector.ll
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
; Test that vectors are scalarized/lowered correctly.
; RUN: llc < %s

; Bug: PR31898
; XFAIL: avr

%d8 = type <8 x double>
%f1 = type <1 x float>
%f2 = type <2 x float>
Expand Down

0 comments on commit f5cac02

Please sign in to comment.