[aarch64] Update datalayout for aarch64 tests

This brings the tests in sync with the changes in r273280.

llvm-svn: 273289
This commit is contained in:
Artem Belevich 2016-06-21 17:35:31 +00:00
parent 42c06a933a
commit 4987dc85b4
2 changed files with 3 additions and 5 deletions

View File

@ -1,8 +1,7 @@
// RUN: %clang_cc1 -triple aarch64_be-none-linux-gnu -emit-llvm -w -o - %s | FileCheck --check-prefix=CHECK --check-prefix=CHECK-BE %s
// RUN: %clang_cc1 -triple aarch64_be-none-linux-gnu -emit-llvm -w -o - %s | FileCheck --check-prefix=CHECK %s
// char by definition has size 1
// CHECK-LE: target datalayout = "e-m:e-i64:64-i128:128-n32:64-S128"
// CHECK-BE: target datalayout = "E-m:e-i64:64-i128:128-n32:64-S128"
// CHECK: target datalayout = "E-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
int check_short() {
return sizeof(short);
@ -89,4 +88,3 @@ int foo() {
return sizeof(enum Small);
// CHECK: ret i32 4
}

View File

@ -141,7 +141,7 @@
// RUN: %clang_cc1 -triple arm64-unknown -o - -emit-llvm %s | \
// RUN: FileCheck %s -check-prefix=AARCH64
// AARCH64: target datalayout = "e-m:e-i64:64-i128:128-n32:64-S128"
// AARCH64: target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
// RUN: %clang_cc1 -triple thumb-unknown-gnueabi -o - -emit-llvm %s | \
// RUN: FileCheck %s -check-prefix=THUMB