Use "a" instead of "a0" in DataLayout.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 12 Dec 2013 17:21:51 +0000 (17:21 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 12 Dec 2013 17:21:51 +0000 (17:21 +0000)
It means exactly the same and is just a bit shorter.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197169 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LangRef.rst
lib/Target/Hexagon/HexagonTargetMachine.cpp
lib/Target/SystemZ/SystemZTargetMachine.cpp
lib/Target/XCore/XCoreTargetMachine.cpp

index 483bea2a9a2d7de23b990dccec160a79dc4d26ad..2faa15692bb0651b184d891b0cca5c4ac0618f85 100644 (file)
@@ -1147,7 +1147,7 @@ specifications are given in this list:
 -  ``f128:128:128`` - quad is 128-bit aligned
 -  ``v64:64:64`` - 64-bit vector is 64-bit aligned
 -  ``v128:128:128`` - 128-bit vector is 128-bit aligned
--  ``a0:0:64`` - aggregates are 64-bit aligned
+-  ``a:0:64`` - aggregates are 64-bit aligned
 
 When LLVM is determining the alignment for a given type, it uses the
 following rules:
index bb950a0ea75ae19c2653f7b3d8880ceffdf6e470..53daa16aa93fa3cc6d6a8a4fc146c24837062e58 100644 (file)
@@ -73,7 +73,7 @@ HexagonTargetMachine::HexagonTargetMachine(const Target &T, StringRef TT,
   : LLVMTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL),
     DL("e-p:32:32:32-"
                 "i64:64:64-i32:32:32-i16:16:16-i1:32:32-"
-                "f64:64:64-f32:32:32-a0:0-n32") ,
+                "f64:64:64-f32:32:32-a:0-n32") ,
     Subtarget(TT, CPU, FS), InstrInfo(Subtarget), TLInfo(*this),
     TSInfo(*this),
     FrameLowering(Subtarget),
index dee92e960c54775d01ffe4aff4f9ca1a4bcd2968..87c09b557c8310106aac3a2331c6ad0e552a856d 100644 (file)
@@ -31,7 +31,7 @@ SystemZTargetMachine::SystemZTargetMachine(const Target &T, StringRef TT,
     // so that we can refer to it using LARL.  We don't have any special
     // requirements for stack variables though.
     DL("E-p:64:64:64-i1:8:16-i8:8:16-i16:16-i32:32-i64:64"
-       "-f32:32-f64:64-f128:64-a0:8:16-n32:64"),
+       "-f32:32-f64:64-f128:64-a:8:16-n32:64"),
     InstrInfo(*this), TLInfo(*this), TSInfo(*this),
     FrameLowering(*this, Subtarget) {
   initAsmInfo();
index 9ae0b860dff91625eed5e02151be4bcb92955735..08fe55d2ae3a6d604a4f15b9a6c1a07e5d8d8ddf 100644 (file)
@@ -27,7 +27,7 @@ XCoreTargetMachine::XCoreTargetMachine(const Target &T, StringRef TT,
                                        CodeGenOpt::Level OL)
   : LLVMTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL),
     Subtarget(TT, CPU, FS),
-    DL("e-p:32:32:32-a0:0:32-f32:32:32-f64:32:32-i1:8:32-i8:8:32-"
+    DL("e-p:32:32:32-a:0:32-f32:32:32-f64:32:32-i1:8:32-i8:8:32-"
                "i16:16:32-i32:32:32-i64:32:32-n32"),
     InstrInfo(),
     FrameLowering(Subtarget),