Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit 6540535

Browse files
committed
Update to the new datalayout string.
1 parent def4393 commit 6540535

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/CodeGen/JS/expand-i64.ll

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: opt -S -expand-illegal-ints < %s | FileCheck %s
22

3-
target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:32"
3+
target datalayout = "e-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-p:32:32:32-v128:32:128-n32-S128"
44

55
; CHECK: define i32 @add(i32, i32, i32, i32) {
66
; CHECK: %5 = call i32 @i64Add(i32 %0, i32 %1, i32 %2, i32 %3)

test/CodeGen/JS/getelementptr.ll

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
; Test simple getelementptr codegen.
44

5-
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
5+
target datalayout = "e-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-p:32:32:32-v128:32:128-n32-S128"
66

77
; CHECK: function _getelementptr([[VAL_P:\$[a-z_]+]]) {
88
; CHECK: [[GEP:\$[a-z_]+]] = (([[GEPINT:\$[a-z_]+]]) + 588)|0;

0 commit comments

Comments
 (0)