r325483 - [AVR] Set the program address space in the data layout

Dylan McKay via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 19 02:46:16 PST 2018


Author: dylanmckay
Date: Mon Feb 19 02:46:16 2018
New Revision: 325483

URL: http://llvm.org/viewvc/llvm-project?rev=325483&view=rev
Log:
[AVR] Set the program address space in the data layout

This is accompanied by r325481 in LLVM.

Modified:
    cfe/trunk/lib/Basic/Targets/AVR.h

Modified: cfe/trunk/lib/Basic/Targets/AVR.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets/AVR.h?rev=325483&r1=325482&r2=325483&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets/AVR.h (original)
+++ cfe/trunk/lib/Basic/Targets/AVR.h Mon Feb 19 02:46:16 2018
@@ -55,7 +55,7 @@ public:
     WIntType = SignedInt;
     Char32Type = UnsignedLong;
     SigAtomicType = SignedChar;
-    resetDataLayout("e-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8");
+    resetDataLayout("e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8");
   }
 
   void getTargetDefines(const LangOptions &Opts,




More information about the cfe-commits mailing list