File tree Expand file tree Collapse file tree 5 files changed +6
-7
lines changed
llvm/test/CodeGen/PowerPC
test/Target/LLVMIR/Import Expand file tree Collapse file tree 5 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 1
1
; RUN: llc -verify-machineinstrs -O0 -mcpu=pwr7 -filetype=obj %s -o - | \
2
2
; RUN: llvm-readobj --symbols - | FileCheck %s
3
3
4
- target datalayout = "E-p:64:64:64-S0- i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f16:16:16-f32:32:32-f64:64:64-f128:128:128-v64:64:64-v128:128:128-a0:0:64-n32:64"
4
+ target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f16:16:16-f32:32:32-f64:64:64-f128:128:128-v64:64:64-v128:128:128-a0:0:64-n32:64"
5
5
target triple = "powerpc64-unknown-linux-gnu"
6
6
7
7
@nextIdx = external thread_local global i32
Original file line number Diff line number Diff line change 3
3
; This test formerly failed because of wrong custom lowering for
4
4
; fptosi of ppc_fp128.
5
5
6
- target datalayout = "E-p:32:32:32-S0- i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f16:16:16-f32:32:32-f64:64:64-f128:64:128-v64:64:64-v128:128:128-a0:0:64-n32"
6
+ target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f16:16:16-f32:32:32-f64:64:64-f128:64:128-v64:64:64-v128:128:128-a0:0:64-n32"
7
7
target triple = "powerpc-unknown-linux-gnu"
8
8
9
9
%core.time.TickDuration = type { i64 }
Original file line number Diff line number Diff line change 2
2
3
3
; This test formerly failed due to no handling for a ppc_fp128 undef.
4
4
5
- target datalayout = "E-p:32:32:32-S0- i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f16:16:16-f32:32:32-f64:64:64-f128:64:128-v64:64:64-v128:128:128-a0:0:64-n32"
5
+ target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f16:16:16-f32:32:32-f64:64:64-f128:64:128-v64:64:64-v128:128:128-a0:0:64-n32"
6
6
target triple = "powerpc-unknown-linux-gnu"
7
7
8
8
%core.time.TickDuration.37.125 = type { i64 }
Original file line number Diff line number Diff line change @@ -197,9 +197,9 @@ DataLayoutImporter::tryToEmplaceStackAlignmentEntry(StringRef token) {
197
197
if (failed (alignment))
198
198
return failure ();
199
199
200
- // Only store the stack alignment if it has a non-default value .
200
+ // Stack alignment shouldn't be zero .
201
201
if (*alignment == 0 )
202
- return success ();
202
+ return failure ();
203
203
OpBuilder builder (context);
204
204
keyEntries.try_emplace (key, DataLayoutEntryAttr::get (
205
205
key, builder.getI64IntegerAttr (*alignment)));
Original file line number Diff line number Diff line change @@ -47,5 +47,4 @@ target datalayout = "A1-E-p270:16:32:64:8-p271:16:32:64-i64:64:128"
47
47
; CHECK: dlti.dl_spec =
48
48
; CHECK: #dlti.dl_spec<
49
49
; CHECK-NOT: #dlti.dl_entry<"dlti.alloca_memory_space"
50
- ; CHECK-NOT: #dlti.dl_entry<"dlti.stack_alignment"
51
- target datalayout = "A0-S0"
50
+ target datalayout = "A0"
You can’t perform that action at this time.
0 commit comments