[cfe-commits] r134070 - /cfe/trunk/lib/Basic/Targets.cpp

Bob Wilson bob.wilson at apple.com
Wed Jun 29 09:09:20 PDT 2011


Author: bwilson
Date: Wed Jun 29 11:09:20 2011
New Revision: 134070

URL: http://llvm.org/viewvc/llvm-project?rev=134070&view=rev
Log:
Use preferred 64-bit alignment for i64 & f64 for Thumb targets.  Radar 9695134.

Modified:
    cfe/trunk/lib/Basic/Targets.cpp

Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=134070&r1=134069&r2=134070&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Wed Jun 29 11:09:20 2011
@@ -1879,7 +1879,7 @@
         // Thumb1 add sp, #imm requires the immediate value be multiple of 4,
         // so set preferred for small types to 32.
         DescriptionString = ("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-"
+                             "i64:32:64-f32:32:32-f64:32:64-"
                              "v64:32:64-v128:32:128-a0:0:32-n32");
       } else {
         DescriptionString = ("e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-"





More information about the cfe-commits mailing list