mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-28 09:31:03 +00:00
Use a: and s: instead of a0: and s0: in the DataLayout strings.
They are equivalent and the size of 'a' and 's' is unused. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197259 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cd8314d63c
commit
f343bc9956
@ -269,7 +269,7 @@ TEST(InstructionsTest, VectorGep) {
|
|||||||
|
|
||||||
int64_t Offset;
|
int64_t Offset;
|
||||||
DataLayout TD("e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f3"
|
DataLayout TD("e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f3"
|
||||||
"2:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80"
|
"2:32:32-f64:64:64-v64:64:64-v128:128:128-a:0:64-s:64:64-f80"
|
||||||
":128:128-n8:16:32:64-S128");
|
":128:128-n8:16:32:64-S128");
|
||||||
// Make sure we don't crash
|
// Make sure we don't crash
|
||||||
GetPointerBaseWithConstantOffset(Gep0, Offset, &TD);
|
GetPointerBaseWithConstantOffset(Gep0, Offset, &TD);
|
||||||
@ -381,7 +381,7 @@ TEST(InstructionsTest, isEliminableCastPair) {
|
|||||||
// or if we don't have available pointer size information.
|
// or if we don't have available pointer size information.
|
||||||
DataLayout DL("e-p:32:32:32-p1:16:16:16-p2:64:64:64-i1:8:8-i8:8:8-i16:16:16"
|
DataLayout DL("e-p:32:32:32-p1:16:16:16-p2:64:64:64-i1:8:8-i8:8:8-i16:16:16"
|
||||||
"-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64"
|
"-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64"
|
||||||
"-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128");
|
"-v128:128:128-a:0:64-s:64:64-f80:128:128-n8:16:32:64-S128");
|
||||||
|
|
||||||
Type* Int64PtrTyAS1 = Type::getInt64PtrTy(C, 1);
|
Type* Int64PtrTyAS1 = Type::getInt64PtrTy(C, 1);
|
||||||
Type* Int64PtrTyAS2 = Type::getInt64PtrTy(C, 2);
|
Type* Int64PtrTyAS2 = Type::getInt64PtrTy(C, 2);
|
||||||
|
@ -412,7 +412,7 @@ namespace llvm {
|
|||||||
Module* mod = new Module("test-mem", getGlobalContext());
|
Module* mod = new Module("test-mem", getGlobalContext());
|
||||||
mod->setDataLayout("e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-"
|
mod->setDataLayout("e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-"
|
||||||
"i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-"
|
"i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-"
|
||||||
"a0:0:64-s0:64:64-f80:128:128");
|
"a:0:64-s:64:64-f80:128:128");
|
||||||
mod->setTargetTriple("x86_64-unknown-linux-gnu");
|
mod->setTargetTriple("x86_64-unknown-linux-gnu");
|
||||||
|
|
||||||
// Type Definitions
|
// Type Definitions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user