r314354 - [AVR] Update data layout to match current LLVM trunk

Dylan McKay via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 27 15:09:01 PDT 2017


Author: dylanmckay
Date: Wed Sep 27 15:09:01 2017
New Revision: 314354

URL: http://llvm.org/viewvc/llvm-project?rev=314354&view=rev
Log:
[AVR] Update data layout to match current LLVM trunk

The data layout was changed in r314179 to fix atomic loads and stores.

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=314354&r1=314353&r2=314354&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets/AVR.h (original)
+++ cfe/trunk/lib/Basic/Targets/AVR.h Wed Sep 27 15:09:01 2017
@@ -56,8 +56,7 @@ public:
     WIntType = SignedInt;
     Char32Type = UnsignedLong;
     SigAtomicType = SignedChar;
-    resetDataLayout("e-p:16:16:16-i8:8:8-i16:16:16-i32:32:32-i64:64:64"
-                    "-f32:32:32-f64:64:64-n8");
+    resetDataLayout("e-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