aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Gohman <sunfish@mozilla.com>2014-03-04 08:31:21 -0800
committerDan Gohman <sunfish@mozilla.com>2014-03-04 08:42:34 -0800
commit65405351ba0b32a8658c65940e0b65ceb2601ad4 (patch)
tree5060c35b38935ca58594c724841f71593901e392 /test
parentdef43933e61ebc8531aed993a0abaa97f145b41d (diff)
Update to the new datalayout string.
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/JS/expand-i64.ll2
-rw-r--r--test/CodeGen/JS/getelementptr.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/JS/expand-i64.ll b/test/CodeGen/JS/expand-i64.ll
index fd468fc6d1..a8a1875fa4 100644
--- a/test/CodeGen/JS/expand-i64.ll
+++ b/test/CodeGen/JS/expand-i64.ll
@@ -1,6 +1,6 @@
; RUN: opt -S -expand-illegal-ints < %s | FileCheck %s
-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"
+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"
; CHECK: define i32 @add(i32, i32, i32, i32) {
; CHECK: %5 = call i32 @i64Add(i32 %0, i32 %1, i32 %2, i32 %3)
diff --git a/test/CodeGen/JS/getelementptr.ll b/test/CodeGen/JS/getelementptr.ll
index 2291909778..2dbb868b94 100644
--- a/test/CodeGen/JS/getelementptr.ll
+++ b/test/CodeGen/JS/getelementptr.ll
@@ -2,7 +2,7 @@
; Test simple getelementptr codegen.
-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"
+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"
; CHECK: function _getelementptr([[VAL_P:\$[a-z_]+]]) {
; CHECK: [[GEP:\$[a-z_]+]] = (([[GEPINT:\$[a-z_]+]]) + 588)|0;