<div dir="ltr"><div>llvm-project/lld/test/ELF/lto/Inputs/drop-debug-info.bc needs to be updated</div><div><a href="http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/34675/steps/check-lld%20msan/logs/stdio" class="cremed">http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/34675/steps/check-lld%20msan/logs/stdio</a><br></div><div><br></div><div>/usr/local/google/home/vitalybuka/slow/bbot/llvm_build/bin/ld.lld -shared /usr/local/google/home/vitalybuka/slow/bbot/llvm-project/lld/test/ELF/lto/Inputs/drop-debug-info.bc  -disable-verify -o /usr/local/google/home/vitalybuka/slow/bbot/llvm_build/obj/lld/test/ELF/lto/Output/drop-debug-info.ll.tmp<br>ld.lld: warning: ignoring debug info with an invalid version (1) in /usr/local/google/home/vitalybuka/slow/bbot/llvm-project/lld/test/ELF/lto/Inputs/drop-debug-info.bc<br>ld.lld: ../llvm-project/llvm/lib/CodeGen/MachineFunction.cpp:200: void llvm::MachineFunction::init(): Assertion `Target.isCompatibleDataLayout(getDataLayout()) && "Can't create a MachineFunction using a Module with a " "Target-incompatible DataLayout attached\n"' failed.<br>Stack dump:<br>0. Program arguments: /usr/local/google/home/vitalybuka/slow/bbot/llvm_build/bin/ld.lld -shared /usr/local/google/home/vitalybuka/slow/bbot/llvm-project/lld/test/ELF/lto/Inputs/drop-debug-info.bc -disable-verify -o /usr/local/google/home/vitalybuka/slow/bbot/llvm_build/obj/lld/test/ELF/lto/Output/drop-debug-info.ll.tmp <br>1.      Running pass 'Function Pass Manager' on module 'ld-temp.o'.<br>2. Running pass 'X86 DAG->DAG Instruction Selection' on function '@f'<br> #0 0x00000000014e31cd PrintStackTraceSignalHandler(void*) (/usr/local/google/home/vitalybuka/slow/bbot/llvm_build/bin/ld.lld+0x14e31cd)<br> #1 0x00000000014e0fce llvm::sys::RunSignalHandlers() (/usr/local/google/home/vitalybuka/slow/bbot/llvm_build/bin/ld.lld+0x14e0fce)<br> #2 0x00000000014e3388 SignalHandler(int) (/usr/local/google/home/vitalybuka/slow/bbot/llvm_build/bin/ld.lld+0x14e3388)<br> #3 0x00007f83527833a0 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x123a0)<br> #4 0x00007f8351c86cfb raise (/lib/x86_64-linux-gnu/libc.so.6+0x36cfb)<br> #5 0x00007f8351c718ad abort (/lib/x86_64-linux-gnu/libc.so.6+0x218ad)<br> #6 0x00007f8351c7177f (/lib/x86_64-linux-gnu/libc.so.6+0x2177f)<br> #7 0x00007f8351c7f542 (/lib/x86_64-linux-gnu/libc.so.6+0x2f542)<br> #8 0x000000000200c1da llvm::MachineFunction::init() (/usr/local/google/home/vitalybuka/slow/bbot/llvm_build/bin/ld.lld+0x200c1da)<br> #9 0x0000000002009082 llvm::MachineModuleInfo::getOrCreateMachineFunction(llvm::Function const&) (/usr/local/google/home/vitalybuka/slow/bbot/llvm_build/bin/ld.lld+0x2009082)<br>#10 0x0000000002006d36 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (/usr/local/google/home/vitalybuka/slow/bbot/llvm_build/bin/ld.lld+0x2006d36)<br>#11 0x0000000001751746 llvm::FPPassManager::runOnFunction(llvm::Function&) (/usr/local/google/home/vitalybuka/slow/bbot/llvm_build/bin/ld.lld+0x1751746)<br>#12 0x0000000001751a53 llvm::FPPassManager::runOnModule(llvm::Module&) (/usr/local/google/home/vitalybuka/slow/bbot/llvm_build/bin/ld.lld+0x1751a53)<br>#13 0x000000000175209c llvm::legacy::PassManagerImpl::run(llvm::Module&) (/usr/local/google/home/vitalybuka/slow/bbot/llvm_build/bin/ld.lld+0x175209c)<br>#14 0x0000000001b4fe00 (anonymous namespace)::codegen(llvm::lto::Config&, llvm::TargetMachine*, std::function<std::unique_ptr<llvm::lto::NativeObjectStream, std::default_delete<llvm::lto::NativeObjectStream> > (unsigned int)>, unsigned int, llvm::Module&) (/usr/local/google/home/vitalybuka/slow/bbot/llvm_build/bin/ld.lld+0x1b4fe00)<br>#15 0x0000000001b4ce8e llvm::lto::backend(llvm::lto::Config&, std::function<std::unique_ptr<llvm::lto::NativeObjectStream, std::default_delete<llvm::lto::NativeObjectStream> > (unsigned int)>, unsigned int, std::unique_ptr<llvm::Module, std::default_delete<llvm::Module> >, llvm::ModuleSummaryIndex&) (/usr/local/google/home/vitalybuka/slow/bbot/llvm_build/bin/ld.lld+0x1b4ce8e)<br>#16 0x0000000001b43066 llvm::lto::LTO::runRegularLTO(std::function<std::unique_ptr<llvm::lto::NativeObjectStream, std::default_delete<llvm::lto::NativeObjectStream> > (unsigned int)>) (/usr/local/google/home/vitalybuka/slow/bbot/llvm_build/bin/ld.lld+0x1b43066)<br>#17 0x0000000001b42a21 llvm::lto::LTO::run(std::function<std::unique_ptr<llvm::lto::NativeObjectStream, std::default_delete<llvm::lto::NativeObjectStream> > (unsigned int)>, std::function<std::function<std::unique_ptr<llvm::lto::NativeObjectStream, std::default_delete<llvm::lto::NativeObjectStream> > (unsigned int)> (unsigned int, llvm::StringRef)>) (/usr/local/google/home/vitalybuka/slow/bbot/llvm_build/bin/ld.lld+0x1b42a21)<br>#18 0x00000000012d13e3 lld::elf::BitcodeCompiler::compile() (/usr/local/google/home/vitalybuka/slow/bbot/llvm_build/bin/ld.lld+0x12d13e3)<br>#19 0x0000000001260ed4 void lld::elf::LinkerDriver::compileBitcodeFiles<llvm::object::ELFType<(llvm::support::endianness)1, true> >() (/usr/local/google/home/vitalybuka/slow/bbot/llvm_build/bin/ld.lld+0x1260ed4)<br>#20 0x0000000001255974 void lld::elf::LinkerDriver::link<llvm::object::ELFType<(llvm::support::endianness)1, true> >(llvm::opt::InputArgList&) (/usr/local/google/home/vitalybuka/slow/bbot/llvm_build/bin/ld.lld+0x1255974)<br>#21 0x000000000124570c lld::elf::LinkerDriver::main(llvm::ArrayRef<char const*>) (/usr/local/google/home/vitalybuka/slow/bbot/llvm_build/bin/ld.lld+0x124570c)<br>#22 0x0000000001244019 lld::elf::link(llvm::ArrayRef<char const*>, bool, llvm::raw_ostream&) (/usr/local/google/home/vitalybuka/slow/bbot/llvm_build/bin/ld.lld+0x1244019)<br>#23 0x00000000011b781d main (/usr/local/google/home/vitalybuka/slow/bbot/llvm_build/bin/ld.lld+0x11b781d)<br>#24 0x00007f8351c7352b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2352b)<br>#25 0x00000000011b702a _start (/usr/local/google/home/vitalybuka/slow/bbot/llvm_build/bin/ld.lld+0x11b702a)<br>Aborted<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 27, 2019 at 10:45 AM Amy Huang via cfe-commits <<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Author: akhuang<br>
Date: Tue Aug 27 10:46:53 2019<br>
New Revision: 370083<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=370083&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=370083&view=rev</a><br>
Log:<br>
Change the X86 datalayout to add three address spaces for 32 bit signed,<br>
32 bit unsigned, and 64 bit pointers.<br>
<br>
Modified:<br>
    cfe/trunk/lib/Basic/Targets/OSTargets.h<br>
    cfe/trunk/lib/Basic/Targets/X86.h<br>
    cfe/trunk/test/CodeGen/Inputs/thinlto-multi-module.ll<br>
    cfe/trunk/test/CodeGen/Inputs/thinlto_backend.ll<br>
    cfe/trunk/test/CodeGen/Inputs/thinlto_backend_local_name_conflict1.ll<br>
    cfe/trunk/test/CodeGen/Inputs/thinlto_backend_local_name_conflict2.ll<br>
    cfe/trunk/test/CodeGen/iamcu-abi.c<br>
    cfe/trunk/test/CodeGen/target-data.c<br>
    cfe/trunk/test/CodeGen/thinlto-diagnostic-handler-remarks-with-hotness.ll<br>
    cfe/trunk/test/CodeGen/thinlto-distributed-backend-skip.ll<br>
    cfe/trunk/test/CodeGen/thinlto-distributed-cfi-devirt.ll<br>
    cfe/trunk/test/CodeGen/thinlto-distributed-cfi.ll<br>
    cfe/trunk/test/CodeGen/thinlto-distributed.ll<br>
    cfe/trunk/test/CodeGen/thinlto-multi-module.ll<br>
    cfe/trunk/test/CodeGen/thinlto_backend.ll<br>
    cfe/trunk/test/CodeGen/thinlto_backend_local_name_conflict.ll<br>
<br>
Modified: cfe/trunk/lib/Basic/Targets/OSTargets.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets/OSTargets.h?rev=370083&r1=370082&r2=370083&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets/OSTargets.h?rev=370083&r1=370082&r2=370083&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/lib/Basic/Targets/OSTargets.h (original)<br>
+++ cfe/trunk/lib/Basic/Targets/OSTargets.h Tue Aug 27 10:46:53 2019<br>
@@ -775,9 +775,11 @@ public:<br>
     if (Triple.getArch() == llvm::Triple::arm) {<br>
       // Handled in ARM's setABI().<br>
     } else if (Triple.getArch() == llvm::Triple::x86) {<br>
-      this->resetDataLayout("e-m:e-p:32:32-i64:64-n8:16:32-S128");<br>
+      this->resetDataLayout("e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-"<br>
+                            "i64:64-n8:16:32-S128");<br>
     } else if (Triple.getArch() == llvm::Triple::x86_64) {<br>
-      this->resetDataLayout("e-m:e-p:32:32-i64:64-n8:16:32:64-S128");<br>
+      this->resetDataLayout("e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-"<br>
+                            "i64:64-n8:16:32:64-S128");<br>
     } else if (Triple.getArch() == llvm::Triple::mipsel) {<br>
       // Handled on mips' setDataLayout.<br>
     } else {<br>
<br>
Modified: cfe/trunk/lib/Basic/Targets/X86.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets/X86.h?rev=370083&r1=370082&r2=370083&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets/X86.h?rev=370083&r1=370082&r2=370083&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/lib/Basic/Targets/X86.h (original)<br>
+++ cfe/trunk/lib/Basic/Targets/X86.h Tue Aug 27 10:46:53 2019<br>
@@ -340,7 +340,8 @@ public:<br>
     LongDoubleWidth = 96;<br>
     LongDoubleAlign = 32;<br>
     SuitableAlign = 128;<br>
-    resetDataLayout("e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128");<br>
+    resetDataLayout("e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-f64:32:64-"<br>
+                    "f80:32-n8:16:32-S128");<br>
     SizeType = UnsignedInt;<br>
     PtrDiffType = SignedInt;<br>
     IntPtrType = SignedInt;<br>
@@ -440,7 +441,8 @@ public:<br>
       UseSignedCharForObjCBool = false;<br>
     SizeType = UnsignedLong;<br>
     IntPtrType = SignedLong;<br>
-    resetDataLayout("e-m:o-p:32:32-f64:32:64-f80:128-n8:16:32-S128");<br>
+    resetDataLayout("e-m:o-p:32:32-p270:32:32-p271:32:32-p272:64:64-f64:32:64-"<br>
+                    "f80:128-n8:16:32-S128");<br>
     HasAlignMac68kSupport = true;<br>
   }<br>
<br>
@@ -465,9 +467,10 @@ public:<br>
     DoubleAlign = LongLongAlign = 64;<br>
     bool IsWinCOFF =<br>
         getTriple().isOSWindows() && getTriple().isOSBinFormatCOFF();<br>
-    resetDataLayout(IsWinCOFF<br>
-                        ? "e-m:x-p:32:32-i64:64-f80:32-n8:16:32-a:0:32-S32"<br>
-                        : "e-m:e-p:32:32-i64:64-f80:32-n8:16:32-a:0:32-S32");<br>
+    resetDataLayout(IsWinCOFF ? "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:"<br>
+                                "64-i64:64-f80:32-n8:16:32-a:0:32-S32"<br>
+                              : "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:"<br>
+                                "64-i64:64-f80:32-n8:16:32-a:0:32-S32");<br>
   }<br>
 };<br>
<br>
@@ -515,7 +518,8 @@ public:<br>
       : X86_32TargetInfo(Triple, Opts) {<br>
     this->WCharType = TargetInfo::UnsignedShort;<br>
     DoubleAlign = LongLongAlign = 64;<br>
-    resetDataLayout("e-m:x-p:32:32-i64:64-f80:32-n8:16:32-a:0:32-S32");<br>
+    resetDataLayout("e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:"<br>
+                    "32-n8:16:32-a:0:32-S32");<br>
   }<br>
<br>
   void getTargetDefines(const LangOptions &Opts,<br>
@@ -552,7 +556,8 @@ public:<br>
       : X86_32TargetInfo(Triple, Opts) {<br>
     LongDoubleWidth = 64;<br>
     LongDoubleFormat = &llvm::APFloat::IEEEdouble();<br>
-    resetDataLayout("e-m:e-p:32:32-i64:32-f64:32-f128:32-n8:16:32-a:0:32-S32");<br>
+    resetDataLayout("e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:32-f64:"<br>
+                    "32-f128:32-n8:16:32-a:0:32-S32");<br>
     WIntType = UnsignedInt;<br>
   }<br>
<br>
@@ -611,10 +616,12 @@ public:<br>
     RegParmMax = 6;<br>
<br>
     // Pointers are 32-bit in x32.<br>
-    resetDataLayout(IsX32<br>
-                        ? "e-m:e-p:32:32-i64:64-f80:128-n8:16:32:64-S128"<br>
-                        : IsWinCOFF ? "e-m:w-i64:64-f80:128-n8:16:32:64-S128"<br>
-                                    : "e-m:e-i64:64-f80:128-n8:16:32:64-S128");<br>
+    resetDataLayout(IsX32 ? "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-"<br>
+                            "i64:64-f80:128-n8:16:32:64-S128"<br>
+                          : IsWinCOFF ? "e-m:w-p270:32:32-p271:32:32-p272:64:"<br>
+                                        "64-i64:64-f80:128-n8:16:32:64-S128"<br>
+                                      : "e-m:e-p270:32:32-p271:32:32-p272:64:"<br>
+                                        "64-i64:64-f80:128-n8:16:32:64-S128");<br>
<br>
     // Use fpret only for long double.<br>
     RealTypeUsesObjCFPRet = (1 << TargetInfo::LongDouble);<br>
@@ -804,7 +811,8 @@ public:<br>
     llvm::Triple T = llvm::Triple(Triple);<br>
     if (T.isiOS())<br>
       UseSignedCharForObjCBool = false;<br>
-    resetDataLayout("e-m:o-i64:64-f80:128-n8:16:32:64-S128");<br>
+    resetDataLayout("e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:"<br>
+                    "16:32:64-S128");<br>
   }<br>
<br>
   bool handleTargetFeatures(std::vector<std::string> &Features,<br>
<br>
Modified: cfe/trunk/test/CodeGen/Inputs/thinlto-multi-module.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/Inputs/thinlto-multi-module.ll?rev=370083&r1=370082&r2=370083&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/Inputs/thinlto-multi-module.ll?rev=370083&r1=370082&r2=370083&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/test/CodeGen/Inputs/thinlto-multi-module.ll (original)<br>
+++ cfe/trunk/test/CodeGen/Inputs/thinlto-multi-module.ll Tue Aug 27 10:46:53 2019<br>
@@ -1,4 +1,4 @@<br>
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"<br>
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"<br>
 target triple = "x86_64-unknown-linux-gnu"<br>
<br>
 define void @f2() {<br>
<br>
Modified: cfe/trunk/test/CodeGen/Inputs/thinlto_backend.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/Inputs/thinlto_backend.ll?rev=370083&r1=370082&r2=370083&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/Inputs/thinlto_backend.ll?rev=370083&r1=370082&r2=370083&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/test/CodeGen/Inputs/thinlto_backend.ll (original)<br>
+++ cfe/trunk/test/CodeGen/Inputs/thinlto_backend.ll Tue Aug 27 10:46:53 2019<br>
@@ -1,4 +1,4 @@<br>
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"<br>
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"<br>
 target triple = "x86_64-unknown-linux-gnu"<br>
<br>
 define void @f2() {<br>
<br>
Modified: cfe/trunk/test/CodeGen/Inputs/thinlto_backend_local_name_conflict1.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/Inputs/thinlto_backend_local_name_conflict1.ll?rev=370083&r1=370082&r2=370083&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/Inputs/thinlto_backend_local_name_conflict1.ll?rev=370083&r1=370082&r2=370083&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/test/CodeGen/Inputs/thinlto_backend_local_name_conflict1.ll (original)<br>
+++ cfe/trunk/test/CodeGen/Inputs/thinlto_backend_local_name_conflict1.ll Tue Aug 27 10:46:53 2019<br>
@@ -1,6 +1,6 @@<br>
 ; ModuleID = 'local_name_conflict_var.o'<br>
 source_filename = "local_name_conflict_var.c"<br>
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"<br>
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"<br>
 target triple = "x86_64-unknown-linux-gnu"<br>
<br>
 @baz = internal global i32 10, align 4<br>
<br>
Modified: cfe/trunk/test/CodeGen/Inputs/thinlto_backend_local_name_conflict2.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/Inputs/thinlto_backend_local_name_conflict2.ll?rev=370083&r1=370082&r2=370083&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/Inputs/thinlto_backend_local_name_conflict2.ll?rev=370083&r1=370082&r2=370083&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/test/CodeGen/Inputs/thinlto_backend_local_name_conflict2.ll (original)<br>
+++ cfe/trunk/test/CodeGen/Inputs/thinlto_backend_local_name_conflict2.ll Tue Aug 27 10:46:53 2019<br>
@@ -1,6 +1,6 @@<br>
 ; ModuleID = 'local_name_conflict_var.o'<br>
 source_filename = "local_name_conflict_var.c"<br>
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"<br>
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"<br>
 target triple = "x86_64-unknown-linux-gnu"<br>
<br>
 @baz = internal global i32 10, align 4<br>
<br>
Modified: cfe/trunk/test/CodeGen/iamcu-abi.c<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/iamcu-abi.c?rev=370083&r1=370082&r2=370083&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/iamcu-abi.c?rev=370083&r1=370082&r2=370083&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/test/CodeGen/iamcu-abi.c (original)<br>
+++ cfe/trunk/test/CodeGen/iamcu-abi.c Tue Aug 27 10:46:53 2019<br>
@@ -1,9 +1,8 @@<br>
 // RUN: %clang_cc1 -triple i386-pc-elfiamcu -emit-llvm -o - %s | FileCheck %s<br>
<br>
-// CHECK: target datalayout = "e-m:e-p:32:32-i64:32-f64:32-f128:32-n8:16:32-a:0:32-S32"<br>
+// CHECK: target datalayout = "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:32-f64:32-f128:32-n8:16:32-a:0:32-S32"<br>
 // CHECK: target triple = "i386-pc-elfiamcu"<br>
<br>
-<br>
 void food(double *d);<br>
 void fooll(long long *ll);<br>
 void fooull(unsigned long long *ull);<br>
<br>
Modified: cfe/trunk/test/CodeGen/target-data.c<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/target-data.c?rev=370083&r1=370082&r2=370083&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/target-data.c?rev=370083&r1=370082&r2=370083&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/test/CodeGen/target-data.c (original)<br>
+++ cfe/trunk/test/CodeGen/target-data.c Tue Aug 27 10:46:53 2019<br>
@@ -1,22 +1,22 @@<br>
 // RUN: %clang_cc1 -triple i686-unknown-unknown -emit-llvm -o - %s | \<br>
 // RUN:     FileCheck --check-prefix=I686-UNKNOWN %s<br>
-// I686-UNKNOWN: target datalayout = "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128"<br>
+// I686-UNKNOWN: target datalayout = "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-f64:32:64-f80:32-n8:16:32-S128"<br>
<br>
 // RUN: %clang_cc1 -triple i686-apple-darwin9 -emit-llvm -o - %s | \<br>
 // RUN:     FileCheck --check-prefix=I686-DARWIN %s<br>
-// I686-DARWIN: target datalayout = "e-m:o-p:32:32-f64:32:64-f80:128-n8:16:32-S128"<br>
+// I686-DARWIN: target datalayout = "e-m:o-p:32:32-p270:32:32-p271:32:32-p272:64:64-f64:32:64-f80:128-n8:16:32-S128"<br>
<br>
 // RUN: %clang_cc1 -triple i686-unknown-win32 -emit-llvm -o - %s | \<br>
 // RUN:     FileCheck --check-prefix=I686-WIN32 %s<br>
-// I686-WIN32: target datalayout = "e-m:x-p:32:32-i64:64-f80:32-n8:16:32-a:0:32-S32"<br>
+// I686-WIN32: target datalayout = "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:32-n8:16:32-a:0:32-S32"<br>
<br>
 // RUN: %clang_cc1 -triple i686-unknown-cygwin -emit-llvm -o - %s | \<br>
 // RUN:     FileCheck --check-prefix=I686-CYGWIN %s<br>
-// I686-CYGWIN: target datalayout = "e-m:x-p:32:32-i64:64-f80:32-n8:16:32-a:0:32-S32"<br>
+// I686-CYGWIN: target datalayout = "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:32-n8:16:32-a:0:32-S32"<br>
<br>
 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s | \<br>
 // RUN:     FileCheck --check-prefix=X86_64 %s<br>
-// X86_64: target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"<br>
+// X86_64: target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"<br>
<br>
 // RUN: %clang_cc1 -triple xcore-unknown-unknown -emit-llvm -o - %s | \<br>
 // RUN:     FileCheck --check-prefix=XCORE %s<br>
@@ -88,11 +88,11 @@<br>
<br>
 // RUN: %clang_cc1 -triple i686-nacl -o - -emit-llvm %s | \<br>
 // RUN: FileCheck %s -check-prefix=I686-NACL<br>
-// I686-NACL: target datalayout = "e-m:e-p:32:32-i64:64-n8:16:32-S128"<br>
+// I686-NACL: target datalayout = "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-n8:16:32-S128"<br>
<br>
 // RUN: %clang_cc1 -triple x86_64-nacl -o - -emit-llvm %s | \<br>
 // RUN: FileCheck %s -check-prefix=X86_64-NACL<br>
-// X86_64-NACL: target datalayout = "e-m:e-p:32:32-i64:64-n8:16:32:64-S128"<br>
+// X86_64-NACL: target datalayout = "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-n8:16:32:64-S128"<br>
<br>
 // RUN: %clang_cc1 -triple arm-nacl -o - -emit-llvm %s | \<br>
 // RUN: FileCheck %s -check-prefix=ARM-NACL<br>
<br>
Modified: cfe/trunk/test/CodeGen/thinlto-diagnostic-handler-remarks-with-hotness.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/thinlto-diagnostic-handler-remarks-with-hotness.ll?rev=370083&r1=370082&r2=370083&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/thinlto-diagnostic-handler-remarks-with-hotness.ll?rev=370083&r1=370082&r2=370083&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/test/CodeGen/thinlto-diagnostic-handler-remarks-with-hotness.ll (original)<br>
+++ cfe/trunk/test/CodeGen/thinlto-diagnostic-handler-remarks-with-hotness.ll Tue Aug 27 10:46:53 2019<br>
@@ -32,7 +32,7 @@<br>
<br>
 ; CHECK: tinkywinky inlined into main with (cost=0, threshold=337) (hotness: 300)<br>
<br>
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"<br>
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"<br>
 target triple = "x86_64-scei-ps4"<br>
<br>
 declare i32 @patatino()<br>
<br>
Modified: cfe/trunk/test/CodeGen/thinlto-distributed-backend-skip.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/thinlto-distributed-backend-skip.ll?rev=370083&r1=370082&r2=370083&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/thinlto-distributed-backend-skip.ll?rev=370083&r1=370082&r2=370083&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/test/CodeGen/thinlto-distributed-backend-skip.ll (original)<br>
+++ cfe/trunk/test/CodeGen/thinlto-distributed-backend-skip.ll Tue Aug 27 10:46:53 2019<br>
@@ -9,7 +9,7 @@<br>
 ; RUN:   -fthinlto-index=%S/Inputs/thinlto-distributed-backend-skip.bc \<br>
 ; RUN:   -emit-llvm -o - -x ir %t.o | FileCheck %s<br>
<br>
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"<br>
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"<br>
 target triple = "x86_64-grtev4-linux-gnu"<br>
<br>
 ; CHECK: "empty"<br>
<br>
Modified: cfe/trunk/test/CodeGen/thinlto-distributed-cfi-devirt.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/thinlto-distributed-cfi-devirt.ll?rev=370083&r1=370082&r2=370083&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/thinlto-distributed-cfi-devirt.ll?rev=370083&r1=370082&r2=370083&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/test/CodeGen/thinlto-distributed-cfi-devirt.ll (original)<br>
+++ cfe/trunk/test/CodeGen/thinlto-distributed-cfi-devirt.ll Tue Aug 27 10:46:53 2019<br>
@@ -47,7 +47,7 @@<br>
 ; RUN:   -emit-obj -fthinlto-index=%t.o.thinlto.bc -O2 \<br>
 ; RUN:   -o %t.native.o -x ir %t.o<br>
<br>
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"<br>
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"<br>
 target triple = "x86_64-grtev4-linux-gnu"<br>
<br>
 %struct.A = type { i32 (...)** }<br>
<br>
Modified: cfe/trunk/test/CodeGen/thinlto-distributed-cfi.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/thinlto-distributed-cfi.ll?rev=370083&r1=370082&r2=370083&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/thinlto-distributed-cfi.ll?rev=370083&r1=370082&r2=370083&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/test/CodeGen/thinlto-distributed-cfi.ll (original)<br>
+++ cfe/trunk/test/CodeGen/thinlto-distributed-cfi.ll Tue Aug 27 10:46:53 2019<br>
@@ -36,7 +36,7 @@<br>
 ; RUN:   -emit-obj -fthinlto-index=%t.o.thinlto.bc \<br>
 ; RUN:   -o %t.native.o -x ir %t.o<br>
<br>
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"<br>
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"<br>
 target triple = "x86_64-grtev4-linux-gnu"<br>
<br>
 %struct.B = type { %struct.A }<br>
<br>
Modified: cfe/trunk/test/CodeGen/thinlto-distributed.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/thinlto-distributed.ll?rev=370083&r1=370082&r2=370083&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/thinlto-distributed.ll?rev=370083&r1=370082&r2=370083&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/test/CodeGen/thinlto-distributed.ll (original)<br>
+++ cfe/trunk/test/CodeGen/thinlto-distributed.ll Tue Aug 27 10:46:53 2019<br>
@@ -12,7 +12,7 @@<br>
 ; RUN:   -emit-obj -fthinlto-index=%t.o.thinlto.bc \<br>
 ; RUN:   -o %t.native.o -x ir %t.o<br>
<br>
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"<br>
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"<br>
 target triple = "x86_64-grtev4-linux-gnu"<br>
<br>
 define i32 @main() {<br>
<br>
Modified: cfe/trunk/test/CodeGen/thinlto-multi-module.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/thinlto-multi-module.ll?rev=370083&r1=370082&r2=370083&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/thinlto-multi-module.ll?rev=370083&r1=370082&r2=370083&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/test/CodeGen/thinlto-multi-module.ll (original)<br>
+++ cfe/trunk/test/CodeGen/thinlto-multi-module.ll Tue Aug 27 10:46:53 2019<br>
@@ -11,7 +11,7 @@<br>
 ; CHECK-OBJ: T f1<br>
 ; CHECK-OBJ: U f2<br>
<br>
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"<br>
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"<br>
 target triple = "x86_64-unknown-linux-gnu"<br>
<br>
 declare void @f2()<br>
<br>
Modified: cfe/trunk/test/CodeGen/thinlto_backend.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/thinlto_backend.ll?rev=370083&r1=370082&r2=370083&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/thinlto_backend.ll?rev=370083&r1=370082&r2=370083&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/test/CodeGen/thinlto_backend.ll (original)<br>
+++ cfe/trunk/test/CodeGen/thinlto_backend.ll Tue Aug 27 10:46:53 2019<br>
@@ -47,7 +47,7 @@<br>
 ; RUN: %clang -target x86_64-unknown-linux-gnu -O2 -o %t3.o -x ir %t1.o -c -fthinlto-index=%t.thinlto.bc 2>&1 | FileCheck %s -check-prefix=CHECK-ERROR2<br>
 ; CHECK-ERROR2: Error loading imported file '{{.*}}': Could not find module summary<br>
<br>
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"<br>
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"<br>
 target triple = "x86_64-unknown-linux-gnu"<br>
<br>
 declare void @f2()<br>
<br>
Modified: cfe/trunk/test/CodeGen/thinlto_backend_local_name_conflict.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/thinlto_backend_local_name_conflict.ll?rev=370083&r1=370082&r2=370083&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/thinlto_backend_local_name_conflict.ll?rev=370083&r1=370082&r2=370083&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/test/CodeGen/thinlto_backend_local_name_conflict.ll (original)<br>
+++ cfe/trunk/test/CodeGen/thinlto_backend_local_name_conflict.ll Tue Aug 27 10:46:53 2019<br>
@@ -21,7 +21,7 @@<br>
<br>
 ; ModuleID = 'local_name_conflict_var_main.o'<br>
 source_filename = "local_name_conflict_var_main.c"<br>
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"<br>
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"<br>
 target triple = "x86_64-unknown-linux-gnu"<br>
<br>
 ; Function Attrs: noinline nounwind uwtable<br>
<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits</a><br>
</blockquote></div>