Commit f28720af authored by Tobias Grosser's avatar Tobias Grosser
Browse files

Fix tests with broken datalayout strings.

Buildbot failure at r168785.

Merged from: https://llvm.org/svn/llvm-project/polly/trunk@168791

llvm-svn: 170742
parent b3936d2b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
; RUN: opt %loadPolly %defaultOpts -polly-codegen %s

target datalayout = "e-p:32:32:32-i64:64:64-i32:32:32-i16:16:16-i1:32:32f64:64:64-f32:32:32-a0:0-n32"
target datalayout = "e-p:32:32:32-i64:64:64-i32:32:32-i16:16:16-i1:32:32-f64:64:64-f32:32:32-a0:0-n32"
target triple = "hexagon-unknown-linux-gnu"

define void @fixup_gotos(i32* %A, i32* %data) nounwind {
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@

; We just check that this compilation does not crash.

target datalayout = "e-p:32:32:32-i64:64:64-i32:32:32-i16:16:16-i1:32:32f64:64:64-f32:32:32-a0:0-n32"
target datalayout = "e-p:32:32:32-i64:64:64-i32:32:32-i16:16:16-i1:32:32-f64:64:64-f32:32:32-a0:0-n32"
target triple = "hexagon-unknown-linux-gnu"

define void @init() nounwind {
+1 −1
Original line number Diff line number Diff line
; RUN: opt %loadPolly -polly-opt-isl -S %s
target datalayout = "e-p:32:32:32-i64:64:64-i32:32:32-i16:16:16-i1:32:32f64:64:64-f32:32:32-a0:0-n32"
target datalayout = "e-p:32:32:32-i64:64:64-i32:32:32-i16:16:16-i1:32:32-f64:64:64-f32:32:32-a0:0-n32"
target triple = "hexagon-unknown-linux-gnu"

define void @sdbout_label() nounwind {
+1 −1
Original line number Diff line number Diff line
; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s

target datalayout = "e-p:32:32:32-i64:64:64-i32:32:32-i16:16:16-i1:32:32f64:64:64-f32:32:32-a0:0-n32"
target datalayout = "e-p:32:32:32-i64:64:64-i32:32:32-i16:16:16-i1:32:32-f64:64:64-f32:32:32-a0:0-n32"
target triple = "hexagon-unknown-linux-gnu"

@array = external global [64 x i8], align 8