]> granicus.if.org Git - llvm/commitdiff
Reland "Change the X86 datalayout to add three address spaces
authorAmy Huang <akhuang@google.com>
Tue, 10 Sep 2019 23:15:38 +0000 (23:15 +0000)
committerAmy Huang <akhuang@google.com>
Tue, 10 Sep 2019 23:15:38 +0000 (23:15 +0000)
 for 32 bit signed, 32 bit unsigned, and 64 bit pointers."
This reverts 57076d3199fc2b0af4a3736b7749dd5462cacda5.

Original review at https://reviews.llvm.org/D64931.
Review for added fix at https://reviews.llvm.org/D66843.

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

315 files changed:
include/llvm/Target/TargetMachine.h
lib/Target/X86/X86TargetMachine.cpp
lib/Target/X86/X86TargetMachine.h
test/LTO/Resolution/X86/Inputs/alias-1.ll
test/LTO/Resolution/X86/Inputs/alias-alias-1.ll
test/LTO/Resolution/X86/Inputs/appending-var-2.ll
test/LTO/Resolution/X86/Inputs/comdat-mixed-lto.ll
test/LTO/Resolution/X86/Inputs/comdat.ll
test/LTO/Resolution/X86/Inputs/common2.ll
test/LTO/Resolution/X86/Inputs/commons.ll
test/LTO/Resolution/X86/Inputs/dead-strip-alias.ll
test/LTO/Resolution/X86/Inputs/dead-strip-fulllto.ll
test/LTO/Resolution/X86/Inputs/intrinsic.ll
test/LTO/Resolution/X86/Inputs/link-odr-availextern-ae.ll
test/LTO/Resolution/X86/Inputs/link-odr-availextern-odr.ll
test/LTO/Resolution/X86/Inputs/mixed_lto.ll
test/LTO/Resolution/X86/Inputs/mod-asm-used.ll
test/LTO/Resolution/X86/Inputs/not-prevailing.ll
test/LTO/Resolution/X86/alias-alias.ll
test/LTO/Resolution/X86/alias.ll
test/LTO/Resolution/X86/appending-var.ll
test/LTO/Resolution/X86/asm-output.ll
test/LTO/Resolution/X86/available-externally.ll
test/LTO/Resolution/X86/cache-dso-local.ll
test/LTO/Resolution/X86/cache-dso-local2.ll
test/LTO/Resolution/X86/cache-prevailing.ll
test/LTO/Resolution/X86/comdat-mixed-lto.ll
test/LTO/Resolution/X86/comdat.ll
test/LTO/Resolution/X86/common2.ll
test/LTO/Resolution/X86/commons.ll
test/LTO/Resolution/X86/dead-strip-alias.ll
test/LTO/Resolution/X86/dead-strip-fulllto.ll
test/LTO/Resolution/X86/diagnostic-handler-remarks-with-hotness.ll
test/LTO/Resolution/X86/diagnostic-handler-remarks.ll
test/LTO/Resolution/X86/export-jumptable.ll
test/LTO/Resolution/X86/function-alias-non-prevailing.ll
test/LTO/Resolution/X86/ifunc.ll
test/LTO/Resolution/X86/intrinsic.ll
test/LTO/Resolution/X86/link-odr-availextern.ll
test/LTO/Resolution/X86/linker-redef-thin.ll
test/LTO/Resolution/X86/linker-redef.ll
test/LTO/Resolution/X86/linkonce.ll
test/LTO/Resolution/X86/load-sample-prof-icp.ll
test/LTO/Resolution/X86/load-sample-prof-lto.ll
test/LTO/Resolution/X86/load-sample-prof.ll
test/LTO/Resolution/X86/local-def-dllimport.ll
test/LTO/Resolution/X86/lowertypetests.ll
test/LTO/Resolution/X86/lto-unit-check.ll
test/LTO/Resolution/X86/mixed_lto.ll
test/LTO/Resolution/X86/mod-asm-used.ll
test/LTO/Resolution/X86/multi-thinlto.ll
test/LTO/Resolution/X86/not-prevailing-alias.ll
test/LTO/Resolution/X86/not-prevailing-variables.ll
test/LTO/Resolution/X86/not-prevailing.ll
test/LTO/Resolution/X86/setting-dso-local.ll
test/LTO/Resolution/X86/symtab-elf.ll
test/LTO/Resolution/X86/type-checked-load.ll
test/LTO/X86/Inputs/codemodel-3.ll
test/LTO/X86/Inputs/dllimport.ll
test/LTO/X86/Inputs/remangle_intrinsics_tbaa.ll
test/LTO/X86/Inputs/strip-debug-info-bar.ll
test/LTO/X86/Inputs/type-mapping-bug2.ll
test/LTO/X86/codemodel-1.ll
test/LTO/X86/codemodel-2.ll
test/LTO/X86/codemodel-3.ll
test/LTO/X86/current-section.ll
test/LTO/X86/diagnostic-handler-remarks-with-hotness.ll
test/LTO/X86/diagnostic-handler-remarks.ll
test/LTO/X86/disable-verify.ll
test/LTO/X86/dllimport.ll
test/LTO/X86/internalize.ll
test/LTO/X86/no-undefined-puts-when-implemented.ll
test/LTO/X86/objc-detection.ll
test/LTO/X86/pr38046.ll
test/LTO/X86/private-symbol.ll
test/LTO/X86/remangle_intrinsics_tbaa.ll
test/LTO/X86/set-merged.ll
test/LTO/X86/strip-debug-info-no-call-loc.ll
test/LTO/X86/strip-debug-info.ll
test/LTO/X86/symver-asm.ll
test/LTO/X86/symver-asm2.ll
test/LTO/X86/symver-asm3.ll
test/LTO/X86/tailcallelim.ll
test/LTO/X86/triple-init.ll
test/LTO/X86/triple-init2.ll
test/LTO/X86/type-mapping-bug2.ll
test/ThinLTO/X86/Inputs/alias_internal.ll
test/ThinLTO/X86/Inputs/cache-icall.ll
test/ThinLTO/X86/Inputs/cache-import-lists1.ll
test/ThinLTO/X86/Inputs/cache-import-lists2.ll
test/ThinLTO/X86/Inputs/cache-typeid-resolutions-import.ll
test/ThinLTO/X86/Inputs/cache-typeid-resolutions1.ll
test/ThinLTO/X86/Inputs/cache-typeid-resolutions2.ll
test/ThinLTO/X86/Inputs/cache-typeid-resolutions3.ll
test/ThinLTO/X86/Inputs/cache.ll
test/ThinLTO/X86/Inputs/callees-metadata.ll
test/ThinLTO/X86/Inputs/cfi-distributed.ll
test/ThinLTO/X86/Inputs/cfi-icall-only-bazqux.ll
test/ThinLTO/X86/Inputs/crash_debuginfo.ll
test/ThinLTO/X86/Inputs/deadstrip.ll
test/ThinLTO/X86/Inputs/debuginfo-compositetype-import.ll
test/ThinLTO/X86/Inputs/debuginfo-cu-import.ll
test/ThinLTO/X86/Inputs/devirt2.ll
test/ThinLTO/X86/Inputs/diagnostic-handler-remarks.ll
test/ThinLTO/X86/Inputs/dicompositetype-unique-alias.ll
test/ThinLTO/X86/Inputs/dicompositetype-unique.ll
test/ThinLTO/X86/Inputs/dicompositetype-unique2.ll
test/ThinLTO/X86/Inputs/dot-dumper.ll
test/ThinLTO/X86/Inputs/dot-dumper2.ll
test/ThinLTO/X86/Inputs/drop-debug-info.ll
test/ThinLTO/X86/Inputs/dsolocal_dllimport.ll
test/ThinLTO/X86/Inputs/emit_imports.ll
test/ThinLTO/X86/Inputs/emit_imports2.ll
test/ThinLTO/X86/Inputs/empty.ll
test/ThinLTO/X86/Inputs/empty_module_with_cache.ll
test/ThinLTO/X86/Inputs/export.ll
test/ThinLTO/X86/Inputs/funcimport-debug.ll
test/ThinLTO/X86/Inputs/funcimport-tbaa.ll
test/ThinLTO/X86/Inputs/funcimport.ll
test/ThinLTO/X86/Inputs/funcimport2.ll
test/ThinLTO/X86/Inputs/function_entry_count.ll
test/ThinLTO/X86/Inputs/globals-import-blockaddr.ll
test/ThinLTO/X86/Inputs/globals-import-cf-baz.ll
test/ThinLTO/X86/Inputs/globals-import.ll
test/ThinLTO/X86/Inputs/import_opaque_type.ll
test/ThinLTO/X86/Inputs/index-const-prop-alias.ll
test/ThinLTO/X86/Inputs/index-const-prop-cache-foo.ll
test/ThinLTO/X86/Inputs/index-const-prop-cache-test1.ll
test/ThinLTO/X86/Inputs/index-const-prop-cache-test2.ll
test/ThinLTO/X86/Inputs/index-const-prop-comdat.ll
test/ThinLTO/X86/Inputs/index-const-prop-define-g.ll
test/ThinLTO/X86/Inputs/index-const-prop-full-lto.ll
test/ThinLTO/X86/Inputs/index-const-prop-gvref.ll
test/ThinLTO/X86/Inputs/index-const-prop-linkage.ll
test/ThinLTO/X86/Inputs/index-const-prop.ll
test/ThinLTO/X86/Inputs/lazyload_metadata.ll
test/ThinLTO/X86/Inputs/linkonce_aliasee_ref_import.ll
test/ThinLTO/X86/Inputs/linkonce_odr_unnamed_addr.ll
test/ThinLTO/X86/Inputs/linkonce_resolution_comdat.ll
test/ThinLTO/X86/Inputs/llvm.used.ll
test/ThinLTO/X86/Inputs/local_name_conflict1.ll
test/ThinLTO/X86/Inputs/local_name_conflict2.ll
test/ThinLTO/X86/Inputs/local_name_conflict_var1.ll
test/ThinLTO/X86/Inputs/local_name_conflict_var2.ll
test/ThinLTO/X86/Inputs/merge-triple.ll
test/ThinLTO/X86/Inputs/module_asm.ll
test/ThinLTO/X86/Inputs/module_asm2.ll
test/ThinLTO/X86/Inputs/noinline.ll
test/ThinLTO/X86/Inputs/personality-local.ll
test/ThinLTO/X86/Inputs/personality.ll
test/ThinLTO/X86/Inputs/pr35472.ll
test/ThinLTO/X86/Inputs/reference_non_importable.ll
test/ThinLTO/X86/Inputs/referenced_by_constant.ll
test/ThinLTO/X86/Inputs/strong_non_prevailing.ll
test/ThinLTO/X86/Inputs/thinlto-internalize-used2.ll
test/ThinLTO/X86/Inputs/weak_resolution.ll
test/ThinLTO/X86/alias_internal.ll
test/ThinLTO/X86/autoupgrade.ll
test/ThinLTO/X86/builtin-nostrip.ll
test/ThinLTO/X86/cache-config.ll
test/ThinLTO/X86/cache-icall.ll
test/ThinLTO/X86/cache-import-lists.ll
test/ThinLTO/X86/cache-typeid-resolutions.ll
test/ThinLTO/X86/cache.ll
test/ThinLTO/X86/callees-metadata.ll
test/ThinLTO/X86/cfi-devirt.ll
test/ThinLTO/X86/cfi-distributed.ll
test/ThinLTO/X86/cfi-icall-only-defuse.ll
test/ThinLTO/X86/cfi-icall.ll
test/ThinLTO/X86/cfi.ll
test/ThinLTO/X86/crash_debuginfo.ll
test/ThinLTO/X86/deadstrip.ll
test/ThinLTO/X86/debuginfo-compositetype-import.ll
test/ThinLTO/X86/debuginfo-cu-import.ll
test/ThinLTO/X86/devirt-after-icp.ll
test/ThinLTO/X86/devirt.ll
test/ThinLTO/X86/devirt2.ll
test/ThinLTO/X86/diagnostic-handler-remarks-with-hotness.ll
test/ThinLTO/X86/diagnostic-handler-remarks.ll
test/ThinLTO/X86/dicompositetype-unique-alias.ll
test/ThinLTO/X86/dicompositetype-unique.ll
test/ThinLTO/X86/dicompositetype-unique2.ll
test/ThinLTO/X86/distributed_import.ll
test/ThinLTO/X86/dot-dumper-full-lto.ll
test/ThinLTO/X86/dot-dumper.ll
test/ThinLTO/X86/dot-dumper2.ll
test/ThinLTO/X86/drop-debug-info.ll
test/ThinLTO/X86/dsolocal_dllimport.ll
test/ThinLTO/X86/emit_imports.ll
test/ThinLTO/X86/empty-module.ll
test/ThinLTO/X86/empty_module_with_cache.ll
test/ThinLTO/X86/export.ll
test/ThinLTO/X86/funcimport-debug.ll
test/ThinLTO/X86/funcimport-tbaa.ll
test/ThinLTO/X86/funcimport.ll
test/ThinLTO/X86/funcimport2.ll
test/ThinLTO/X86/function_entry_count.ll
test/ThinLTO/X86/globals-import-blockaddr.ll
test/ThinLTO/X86/globals-import-const-fold.ll
test/ThinLTO/X86/globals-import.ll
test/ThinLTO/X86/import_opaque_type.ll
test/ThinLTO/X86/index-const-prop-O0.ll
test/ThinLTO/X86/index-const-prop-alias.ll
test/ThinLTO/X86/index-const-prop-cache.ll
test/ThinLTO/X86/index-const-prop-comdat.ll
test/ThinLTO/X86/index-const-prop-dead.ll
test/ThinLTO/X86/index-const-prop-full-lto.ll
test/ThinLTO/X86/index-const-prop-gvref.ll
test/ThinLTO/X86/index-const-prop-ldst.ll
test/ThinLTO/X86/index-const-prop-linkage.ll
test/ThinLTO/X86/index-const-prop.ll
test/ThinLTO/X86/index-const-prop2.ll
test/ThinLTO/X86/internalize.ll
test/ThinLTO/X86/lazyload_metadata.ll
test/ThinLTO/X86/linkonce_aliasee_ref_import.ll
test/ThinLTO/X86/linkonce_odr_unnamed_addr.ll
test/ThinLTO/X86/linkonce_resolution_comdat.ll
test/ThinLTO/X86/llvm.used.ll
test/ThinLTO/X86/load-store-caching.ll
test/ThinLTO/X86/local_name_conflict.ll
test/ThinLTO/X86/local_name_conflict_var.ll
test/ThinLTO/X86/merge-triple.ll
test/ThinLTO/X86/module_asm2.ll
test/ThinLTO/X86/module_asm_glob.ll
test/ThinLTO/X86/module_summary_graph_traits.ll
test/ThinLTO/X86/newpm-basic.ll
test/ThinLTO/X86/nodevirt-nonpromoted-typeid.ll
test/ThinLTO/X86/noinline.ll
test/ThinLTO/X86/personality-local.ll
test/ThinLTO/X86/personality.ll
test/ThinLTO/X86/pr35472.ll
test/ThinLTO/X86/reference_non_importable.ll
test/ThinLTO/X86/referenced_by_constant.ll
test/ThinLTO/X86/save_objects.ll
test/ThinLTO/X86/strong_non_prevailing.ll
test/ThinLTO/X86/thinlto-internalize-used.ll
test/ThinLTO/X86/tli-nobuiltin.ll
test/ThinLTO/X86/weak_externals.ll
test/ThinLTO/X86/weak_resolution.ll
test/ThinLTO/X86/writeonly.ll
test/ThinLTO/X86/writeonly2.ll
test/Transforms/FunctionImport/Inputs/comdat.ll
test/Transforms/FunctionImport/Inputs/funcimport_debug.ll
test/Transforms/FunctionImport/Inputs/funcimport_resolved1.ll
test/Transforms/FunctionImport/Inputs/funcimport_resolved2.ll
test/Transforms/FunctionImport/Inputs/funcimport_var2.ll
test/Transforms/FunctionImport/Inputs/hotness_based_import.ll
test/Transforms/FunctionImport/Inputs/import_stats.ll
test/Transforms/FunctionImport/Inputs/not-prevailing.ll
test/Transforms/FunctionImport/comdat.ll
test/Transforms/FunctionImport/funcimport_debug.ll
test/Transforms/FunctionImport/funcimport_resolved.ll
test/Transforms/FunctionImport/funcimport_var.ll
test/Transforms/FunctionImport/hotness_based_import.ll
test/Transforms/FunctionImport/import_stats.ll
test/Transforms/FunctionImport/not-prevailing.ll
test/Transforms/PGOProfile/Inputs/thinlto_cspgo_bar_gen.ll
test/Transforms/PGOProfile/Inputs/thinlto_cspgo_bar_use.ll
test/Transforms/PGOProfile/Inputs/thinlto_indirect_call_promotion.ll
test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp.ll
test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp2a.ll
test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp2b.ll
test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp3.ll
test/Transforms/PGOProfile/X86/macho.ll
test/Transforms/PGOProfile/branch1.ll
test/Transforms/PGOProfile/branch2.ll
test/Transforms/PGOProfile/comdat_internal.ll
test/Transforms/PGOProfile/criticaledge.ll
test/Transforms/PGOProfile/cspgo_profile_summary.ll
test/Transforms/PGOProfile/diag_FE_profile.ll
test/Transforms/PGOProfile/diag_mismatch.ll
test/Transforms/PGOProfile/diag_no_funcprofdata.ll
test/Transforms/PGOProfile/diag_no_profile.ll
test/Transforms/PGOProfile/diag_no_value_sites.ll
test/Transforms/PGOProfile/do-not-instrument.ll
test/Transforms/PGOProfile/func_entry.ll
test/Transforms/PGOProfile/icp_covariant_call_return.ll
test/Transforms/PGOProfile/icp_covariant_invoke_return.ll
test/Transforms/PGOProfile/icp_invoke.ll
test/Transforms/PGOProfile/icp_invoke_nouse.ll
test/Transforms/PGOProfile/icp_mismatch_msg.ll
test/Transforms/PGOProfile/icp_vararg.ll
test/Transforms/PGOProfile/indirect_call_annotation.ll
test/Transforms/PGOProfile/indirect_call_profile.ll
test/Transforms/PGOProfile/indirect_call_promotion.ll
test/Transforms/PGOProfile/indirect_call_promotion_vla.ll
test/Transforms/PGOProfile/indirectbr.ll
test/Transforms/PGOProfile/landingpad.ll
test/Transforms/PGOProfile/large_count_remarks.ll
test/Transforms/PGOProfile/loop1.ll
test/Transforms/PGOProfile/loop2.ll
test/Transforms/PGOProfile/memcpy.ll
test/Transforms/PGOProfile/memop_size_annotation.ll
test/Transforms/PGOProfile/memop_size_opt.ll
test/Transforms/PGOProfile/memop_size_opt_zero.ll
test/Transforms/PGOProfile/multiple_hash_profile.ll
test/Transforms/PGOProfile/noreturncall.ll
test/Transforms/PGOProfile/preinline.ll
test/Transforms/PGOProfile/remap.ll
test/Transforms/PGOProfile/select1.ll
test/Transforms/PGOProfile/select2.ll
test/Transforms/PGOProfile/select_hash_conflict.ll
test/Transforms/PGOProfile/single_bb.ll
test/Transforms/PGOProfile/statics_counter_naming.ll
test/Transforms/PGOProfile/switch.ll
test/Transforms/PGOProfile/thinlto_cspgo_gen.ll
test/Transforms/PGOProfile/thinlto_cspgo_use.ll
test/Transforms/PGOProfile/thinlto_indirect_call_promotion.ll
test/Transforms/PGOProfile/thinlto_samplepgo_icp.ll
test/Transforms/PGOProfile/thinlto_samplepgo_icp2.ll
test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll
test/Transforms/PGOProfile/thinlto_samplepgo_icp_droppeddead.ll
test/Transforms/PGOProfile/unreachable_bb.ll
test/tools/llvm-lto2/X86/pipeline.ll
test/tools/llvm-lto2/X86/stats-file-option.ll

index cdf9f8bfd5eaae6fb874473276c9c3d39863f6a8..0bf5e30afaeae9a5f1cf90d0cef7435628edb8fe 100644 (file)
@@ -157,7 +157,7 @@ public:
   /// The LLVM Module owns a DataLayout that is used for the target independent
   /// optimizations and code generation. This hook provides a target specific
   /// check on the validity of this DataLayout.
-  bool isCompatibleDataLayout(const DataLayout &Candidate) const {
+  virtual bool isCompatibleDataLayout(const DataLayout &Candidate) const {
     return DL == Candidate;
   }
 
index f6184a3c1f1a72101c9b222bd86f1ddfeb167d4d..8f3d18707619ccba5a43ca27dcfb68602f682e7b 100644 (file)
@@ -106,7 +106,8 @@ static std::unique_ptr<TargetLoweringObjectFile> createTLOF(const Triple &TT) {
   llvm_unreachable("unknown subtarget type");
 }
 
-static std::string computeDataLayout(const Triple &TT) {
+static std::string computeDataLayout(const Triple &TT,
+                                     bool AddressSpaces = true) {
   // X86 is little endian
   std::string Ret = "e";
 
@@ -117,6 +118,10 @@ static std::string computeDataLayout(const Triple &TT) {
       !TT.isArch64Bit())
     Ret += "-p:32:32";
 
+  // Address spaces for 32 bit signed, 32 bit unsigned, and 64 bit pointers.
+  if (AddressSpaces)
+    Ret += "-p270:32:32-p271:32:32-p272:64:64";
+
   // Some ABIs align 64 bit integers and doubles to 64 bits, others to 32.
   if (TT.isArch64Bit() || TT.isOSWindows() || TT.isOSNaCl())
     Ret += "-i64:64";
@@ -218,7 +223,8 @@ X86TargetMachine::X86TargetMachine(const Target &T, const Triple &TT,
           getEffectiveRelocModel(TT, JIT, RM),
           getEffectiveX86CodeModel(CM, JIT, TT.getArch() == Triple::x86_64),
           OL),
-      TLOF(createTLOF(getTargetTriple())) {
+      TLOF(createTLOF(getTargetTriple())),
+      DLNoAddrSpaces(computeDataLayout(TT, /*AddressSpaces=*/false)) {
   // On PS4, the "return address" of a 'noreturn' call must still be within
   // the calling function, and TrapUnreachable is an easy way to get that.
   if (TT.isPS4() || TT.isOSBinFormatMachO()) {
@@ -312,6 +318,13 @@ X86TargetMachine::getSubtargetImpl(const Function &F) const {
   return I.get();
 }
 
+bool X86TargetMachine::isCompatibleDataLayout(
+    const DataLayout &Candidate) const {
+  // Maintain compatibility with datalayouts that don't have address space
+  // pointer sizes.
+  return DL == Candidate || DLNoAddrSpaces == Candidate;
+}
+
 //===----------------------------------------------------------------------===//
 // Command line options for x86
 //===----------------------------------------------------------------------===//
index b999e2e86af68b96cfd361af5229ac521b3cc3ba..aa970376b2ab2f067140376f88e0af48f8bfe114 100644 (file)
@@ -30,6 +30,7 @@ class X86RegisterBankInfo;
 class X86TargetMachine final : public LLVMTargetMachine {
   std::unique_ptr<TargetLoweringObjectFile> TLOF;
   mutable StringMap<std::unique_ptr<X86Subtarget>> SubtargetMap;
+  const DataLayout DLNoAddrSpaces;
 
 public:
   X86TargetMachine(const Target &T, const Triple &TT, StringRef CPU,
@@ -52,6 +53,8 @@ public:
   TargetLoweringObjectFile *getObjFileLowering() const override {
     return TLOF.get();
   }
+
+  bool isCompatibleDataLayout(const DataLayout &Candidate) const override;
 };
 
 } // end namespace llvm
index 01c9987fd3f9d8450ef702ed47a923aed185a8cd..bc54680fa1918bae18a3648260bc3ce2162d020a 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @a = global i32 42
index 956deabcfc88de1bf582c107ac13b089e866eee4..4ee753e403f40090b4d6e948cf3892cf71ecd1bf 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @a = external global i32
index 29bc8433d3e48148bfa920181a5978e8a583b7e5..1cd01d789d3baf6b79ed5694d47d27532c080731 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 %"foo" = type { i8 }
index 0112b89f98dbe072f27615bf261091fcb82cea00..b2f901cb0a1e9578a77a3d062d7870fb46e7048c 100644 (file)
@@ -1,6 +1,6 @@
 ; ModuleID = 'comdat-mixed-lto1.o'
 source_filename = "comdat-mixed-lto1.cpp"
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 %"class.Test::ptr" = type { i32 }
index ca4bbb4bf81efd68c7830276b2f06d47300b1561..52cadf39a318f006207b2d05f879a9553f7ef28e 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 $c2 = comdat any
index c3a7f753684dd12acd71691cbfbfaeca8545a391..3a4c631ad6557127e4ee493c05ada0d0d9ae9c11 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @v = common global i16 0, align 4
index 9372600d03de3e9565a0ec8ac5edd5bd6589c8ee..9ff7de26ab9048a11cbc61ac2503fbf129099e84 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @x = global i32 42, align 4
index 16154d2c45b39bff3ee76a5e049cea69738cb34b..b32d5b0f236124fb9931005bee5547e90bd94617 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @external = global i8 42
index cc508924c6735de1086a9acf1a2a753cab1b88d9..cfe1544a6b9aad2bbc1f5dbe1d088455a1816537 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void @live1() {
index 52ee296b18bb016fab7856f64df65e83c565e634..82a7c2e31451b5e52cb6c099fa757848db94cf15 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 %foo = type {  }
 declare <4 x %foo*> @llvm.masked.load.v4p0foo.p0v4p0foo(<4 x %foo*>*, i32, <4 x i1>, <4 x %foo*>)
index f2d180afc82dec86a7f0c7592df22d476b2bc27e..1b8064a8d0387ce101beb600f5d49d07b23f8577 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define available_externally i32 @f() {
index 76e745a444fedc3e787f9bca3a4a8519ed1211fb..312b3ad1e0caf6944abbb26e9feaa07239a07c62 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define linkonce_odr i32 @f() {
index 2393deb3241450de952933feb61bf300086ac4cf..ec561362ade3b606880e28ca21aba8c62a3c1ecc 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 declare i32 @g()
 define i32 @main() {
index 3b1988bb54d0e23cb3bd0e030fbdd887ff8f7359..c3b08ed605bbb746599b99bda67b57a19d777eea 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @foo = global i32 1, align 4
index 68b3c8362808e77af83377a8141fee0531850cd2..7986919be341c72c342e2fd320b4c7db6b6c46ef 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void @bar() {
index eaf2615b0a01ac04a91283415eadc1e7def06575..a8489112ae99e22e2241d4c80177196e64578170 100644 (file)
@@ -19,7 +19,7 @@
 ; RES-NEXT: {{^}}-r={{.*}}2.o,a,{{$}}
 ; RES-NEXT: {{^}}-r={{.*}}2.o,d,px{{$}}
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @a = weak alias i32, i32* @b
index 886eadcfc82e281b9ee66fc688c4bfc18b287a60..f565e4d234cd933215e2998088783e4847312b59 100644 (file)
@@ -15,7 +15,7 @@
 ; RES: {{^}}-r={{.*}}1.o,b,px{{$}}
 ; RES: {{^}}-r={{.*}}1.o,a,{{$}}
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @a = weak alias i32, i32* @b
index 4d259d7f8db7e94fd1bc4a7c82371413b5dd80f4..684e64129d65f4729a6163e63d4086b04ac58b8b 100644 (file)
@@ -7,7 +7,7 @@
 
 ; RUN: llvm-lto2 run -o %t3.o %t1.o %t2.o -r %t1.o,bar, -r %t2.o,bar,px
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 %"foo.1" = type { i8, i8 }
index 41d293501dd10a29ce8ca0d12173618afa378977..7f15cecc8d04403d3140849b5e379528169ec431 100644 (file)
@@ -9,7 +9,7 @@
 ;
 ; ASM: main:
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define i32 @main() {
index eb17693c0a9419e094ff5ba806d96d090ffd3e5f..ac35b15b3710e117b353f86c26c508a624fea0d9 100644 (file)
@@ -4,7 +4,7 @@
 
 ; CHECK: U bar
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void ()* @foo() {
index 5e5b94cc94b465a4d45e93caebab7d634c99dc9e..6ed8e056b2ccc3b9e7ad7f9d4ddfd6ae0e5b6580 100644 (file)
@@ -10,7 +10,7 @@
 ; RUN:   -r %t.bc,bar,px
 ; RUN: ls %t.cache | count 2
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define weak void @foo() {
index 3a6c15e52aa85c552470b66d0ca851997265a360..2316cbfdc5d9f5dab1002df8192c3b390da3cb97 100644 (file)
@@ -10,7 +10,7 @@
 ; RUN:   -r %t.bc,bar,px
 ; RUN: ls %t.cache | count 2
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define weak void @foo() {
index 57687492e1d1604e7360ef94231f344a8793f5c6..72a1d4e6f53104669d904547da83373c39facb02 100644 (file)
@@ -7,7 +7,7 @@
 ; RUN:   -r %t.bc,foo, -r %t.bc,bar,px
 ; RUN: ls %t.cache | count 2
 
-target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-pc-windows-msvc19.11.0"
 
 @foo = linkonce constant i32 1, comdat
index d6022c643519fdaa12e82c2c0b5b456f17d4dd0d..d3730f4e9bcda16bbc1d18340dc43bdea5e844ac 100644 (file)
@@ -21,7 +21,7 @@
 
 ; ModuleID = 'comdat-mixed-lto.o'
 source_filename = "comdat-mixed-lto.cpp"
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 %"class.Test::ptr" = type { i32 }
index 3a0c673c6a220ddf8e59020fa059fbb5784889e2..06b61b7edf8bcc7a13147a0e1160222b1e50555b 100644 (file)
@@ -22,7 +22,7 @@
 ; RUN:  -r=%t2.o,a25,px
 ; RUN: llvm-dis %t3.o.0.2.internalize.bc -o - | FileCheck %s
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 $c1 = comdat any
index de702d0570018b740de79f2764e9b58c4f0c2f5c..c0447b75b823a44afcdbf8f408a0b588f39cb160 100644 (file)
@@ -52,7 +52,7 @@
 ; RUN:  -r %t2.bc,bar,px
 ; RUN: llvm-dis < %t.o.0.0.preopt.bc | FileCheck  %s --check-prefix=NONE-PREVAILED2
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @v = common global i8 0, align 8
index 8adfb87d6edf50c9f6ea95becd71eb90f00b5593..1ccb5ed57dedd0c926e82b229f7a49119473d34b 100644 (file)
@@ -6,7 +6,7 @@
 ; A strong definition should override the common
 ; CHECK: @x = dso_local global i32 42, align 4
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @x = common global i16 0, align 2
index fc5554c34a81b86dd2ebaaebce61a04fc0b46252..d62621acc8e151930bb01672ea620e389bba25ce 100644 (file)
@@ -7,7 +7,7 @@
 
 ; CHECK: D external
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @alias = alias i8*, i8** @internal
index 11a8981aceb0a3c3e3ea3461e21746395cf5eb8e..9a5dd998380d064acc87b21a65fa50adb13cbfd6 100644 (file)
@@ -23,7 +23,7 @@
 ; THIN: U live2
 ; THIN-NOT: odr
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void @main() {
index 9932f527dc602a485a5ca923b149ba5d2d410592..33e345f65a31557a7229c78d1a66e5f9bc373785 100644 (file)
@@ -35,7 +35,7 @@
 
 ; CHECK: tinkywinky inlined into main with (cost=-15000, threshold=337) (hotness: 300)
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-scei-ps4"
 
 declare i32 @patatino()
index beb0f4fa49b8663364e3457f744828dd5ef173ec..bc3227017f9b66510f6b0d2bfecc8a79764bfe77 100644 (file)
@@ -36,7 +36,7 @@
 ; YAML-NEXT:   - String:          ')'
 ; YAML-NEXT: ...
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-scei-ps4"
 
 declare i32 @patatino()
index 8ced9d962923525d32abd7f0a2abfada286161e3..ec23d15591386c46e1deb54e1c91978dfa02b915 100644 (file)
@@ -6,7 +6,7 @@
 ; RUN: llvm-lto2 run -o %t2 -r %t,f1,p -r %t,f2,p -r %t,_start,px %t -save-temps
 ; RUN: llvm-dis %t2.1.2.internalize.bc -o - | FileCheck %s
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; CHECK: define void @f1()
index ab2cefebb42bf7ba00325b0f2dae3dda0ee47b2c..cc793f64d9d6ff60b0739e886068fe8daf1b4464 100644 (file)
@@ -2,7 +2,7 @@
 ; RUN: llvm-lto2 run %t -r %t,foo, -r %t,baz,p -o %t2 -save-temps
 ; RUN: llvm-dis -o - %t2.0.0.preopt.bc | FileCheck %s
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64--fuchsia"
 
 ; CHECK: declare void @foo()
index c77f1068241be09faec6f0dec983898a35a5d809..5a437fddbcb48abfb20447d3ef50896ee3b1b684 100644 (file)
@@ -4,7 +4,7 @@
 ; CHECK: T foo
 ; CHECK: t foo_ifunc
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @foo = ifunc i32 (i32), i64 ()* @foo_ifunc
index dc287ace0f8791a5edc8566fd14f8212909299fc..597953155fe5fdccb979c831d0f1a053d5ae76fa 100644 (file)
@@ -2,7 +2,7 @@
 ; RUN: llvm-as %p/Inputs/intrinsic.ll -o %t2.o
 ; RUN: llvm-lto2 run -o %t3.o %t1.o %t2.o -r %t1.o,foo
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 %foo = type {  }
 declare void @foo( %foo*  )
index cc360338d6d1d0361114851ef769a04c28558f19..cb522bfe7f90d4c536c05119b1c3d64e8df93ea1 100644 (file)
@@ -26,7 +26,7 @@
 ; RUN: llvm-lto2 run -o %t3 %t2odr %t1 -r %t1,f, -r %t2odr,f, -save-temps
 ; RUN: llvm-dis < %t3.0.0.preopt.bc -o - | FileCheck --check-prefix=NONPREVAILING %s
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; PREVAILING: define weak_odr i32 @f()
index 4625ce3fa0cdbc19c03056dcd6de8bc45276b971..d965452ba5725ff696b1e366a7724bc4a1f9e501 100644 (file)
@@ -8,7 +8,7 @@
 ; CHECK-NEXT: Binding: Weak
 ; CHECK-NEXT: Type: Function
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void @patatino() {
index b53f811e4cd8fa0595a5b895a9a9b1d3808d1991..73301e9e61492759742973421940da5fe1075752 100644 (file)
@@ -8,7 +8,7 @@
 ; CHECK-NEXT: Binding: Weak
 ; CHECK-NEXT: Type: Function
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void @bar() {
index fbbb458b92d0824a90742108b19112e0eb7ae821..a52c4451a43b5a6a9d83c0c2d73608271c0580a3 100644 (file)
@@ -2,7 +2,7 @@
 ; RUN: llvm-lto2 run %t -O0 -r %t,foo,px -o %t2
 ; RUN: llvm-nm %t2.1 | FileCheck %s
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; CHECK: W foo
index 79f9c1e9b7641e00b7aca20999044f49258f1e1d..2c8549c388ea53eb8822128248fedce246ad68e5 100644 (file)
@@ -11,7 +11,7 @@
 ; RUN:   -lto-sample-profile-file=%S/Inputs/load-sample-prof-icp.prof
 ; RUN: llvm-dis %t.out.1.4.opt.bc -o - | FileCheck %s
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; CHECK-LABEL: @test
index bdf4f08dba1781d0e361f034f8789d3d2609fc07..47287d16425e39121815909094760ee090290649 100644 (file)
@@ -17,7 +17,7 @@
 ; Make sure profile information is attached.
 ; CHECK: !prof
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void @foo() local_unnamed_addr !dbg !7 {
index 2f9d66e6941db91a767250a5b4cde760d8f7e643..8d09cc7327fecc81f4a29bf694482565dcd12aea 100644 (file)
@@ -8,7 +8,7 @@
 ;
 ; CHECK: !prof
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void @foo() local_unnamed_addr !dbg !7 {
index c97e4b7e14c1479e33a0cb99c47360104cade80a..4c70e72803e69968c0f44a339b53020118960db0 100644 (file)
@@ -7,7 +7,7 @@
 ; RUN:               -save-temps -o %t1 %t0.bc
 ; RUN: llvm-dis %t1.1.3.import.bc -o - | FileCheck %s
 source_filename = "test.cpp"
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 $g = comdat any
index e5be4b98cbf4edd56211ef9177035ae83b67b0a5..8016a66fb015dde98ccd5cb07f1a01ea7e731c8c 100644 (file)
@@ -8,7 +8,7 @@
 ; CHECK: U __typeid_bar_global_addr
 ; CHECK: U __typeid_foo_global_addr
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @foo = global i32 0, !type !0
index 1736a5b216aeddb9c4c72f13eb7653b1fd7d8445..de638c1ebb8fa8b5ef393bc0c234be7ef510627b 100644 (file)
@@ -51,5 +51,5 @@
 ; ENABLESPLITFLAG: !{i32 1, !"EnableSplitLTOUnit", i32 1}
 ; NOENABLESPLITFLAG-NOT: !{i32 1, !"EnableSplitLTOUnit", i32 1}
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
index aa686a8114c960e403ed8e34b9e212f1adf2c82d..8e5620b709df85355d3d96e43dab9e9722a10579 100644 (file)
@@ -19,7 +19,7 @@
 ; RUN: llvm-nm %t5.o.0 | FileCheck %s --check-prefix=NM0
 ; RUN: llvm-nm %t5.o.1 | FileCheck %s --check-prefix=NM1
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 define i32 @g() {
   ret i32 0
index 8e02b6a444ab73d66255b00375d8c2d48447c22a..245ff429225c0459f202618cf6af7c5b51af4b9f 100644 (file)
@@ -7,7 +7,7 @@
 ; INDEX: ^0 = module: (path: "{{.*}}mod-asm-used.ll.tmp.bc"
 ; INDEX: ^1 = module: (path: "{{.*}}mod-asm-used.ll.tmp2.bc"
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; CHECK: D foo
index 06150e44a1670a51665c8b38a9bda89817521230..e782b4fd8ad29d7cca802e3b7eb57a5bf5644a1c 100644 (file)
@@ -3,5 +3,5 @@
 ; RUN: not llvm-lto2 run -o %t3.o %t2.o 2>&1 | FileCheck %s
 ; CHECK: Expected at most one ThinLTO module per bitcode file
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
index 79770c5cf4cb41870b2cda59d537e99a660052aa..9d1164725591361d8aa6849683be0c14f7049049 100644 (file)
@@ -25,7 +25,7 @@
 ; SYMBOLS: NOTYPE  GLOBAL DEFAULT  UND varAlias
 ; SYMBOLS: FUNC    GLOBAL DEFAULT    2 zed
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @barAlias = alias void(), void()* @bar
index 6d22baf351d75084a6f8baa9150449a1d350ef91..9a7131b642d153823871a0efdc534f35bf876291 100644 (file)
@@ -19,7 +19,7 @@
 ; RUN: llvm-readelf --symbols %t2.o.1 | FileCheck %s --check-prefix=UND
 ; UND: NOTYPE  GLOBAL DEFAULT UND var2
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @var1 = global i32 10, align 4
index 58c7724724266bd1acfb60a35f25d3654352ece0..fb68b01698c5791f00647296ff35eb4677e1b2cc 100644 (file)
@@ -21,7 +21,7 @@
 ; SYMBOLS: NOTYPE  GLOBAL DEFAULT  UND foo
 ; SYMBOLS: FUNC    GLOBAL DEFAULT    2 zed
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 $foo = comdat any
index 817a8181ff6acd8a7a6ec4d6e9e0fdcdee0a02a5..bd9351e915118de5ae118e05cd600e2cbece3eb2 100644 (file)
@@ -6,7 +6,7 @@
 
 ; CHECK:  0000000000000000     0 NOTYPE  GLOBAL HIDDEN   UND foobar
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @foobar = external hidden global i32
index 40864a82dd08616f46b21a70100d1ca02e198342..229151179923d6232307a7a54d8993ff179fb33a 100644 (file)
@@ -3,7 +3,7 @@
 
 ; CHECK: target triple: x86_64-unknown-linux-gnu
 target triple = "x86_64-unknown-linux-gnu"
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 
 ; CHECK-NOT: linker opts:
 !0 = !{!"/include:foo"}
index 3ec783bc56535c9a2ec5a1a94be208f3cd3333de..726dc970195f3f1ae01427164ceb24bfcbe7e248 100644 (file)
@@ -5,7 +5,7 @@
 ; It means that the wholeprogramdevirt pass must have run and lowered
 ; the llvm.type.checked.load call.
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define {i8*, i1} @foo(i8* %ptr) {
index 7b264af6f48dc1ef7c9bf243351a5c0cd8daa97f..a5ec572809272791fd03f198baf95d4219df816f 100644 (file)
@@ -1,5 +1,5 @@
 target triple = "x86_64-unknown-linux-gnu"
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 
 !llvm.module.flags = !{!0, !1}
 
index b1914bebf1559efabd0040ff4b175623d25d305b..f3daab1df09742db85218af8e36421aad42712df 100644 (file)
@@ -1,6 +1,6 @@
 ; ModuleID = 'b.obj'
 source_filename = "b.cpp"
-target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-pc-windows-msvc19.11.0"
 
 ; Function Attrs: norecurse nounwind readnone sspstrong uwtable
index b216ed04cef33bd1ac7202ba991bb72b28daa240..e213c2155c239abcd646fc71848f59e44c85fa0c 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 %some_named_struct = type { i8, i8 }
index 4269886676b3eddef4c40bcb429562809087539c..be4322caa77fc675faa3f3c347f0457aec956ad0 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.12"
 
 define void @bar() !dbg !3 {
index b58a1e953fbf02d631a105fa2b361216b6cdebd5..e866cb712279eb83ccc0be474337aad89d749416 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define i32 @c() !dbg !6 {
index ca89c94337663bcaae2b8ba0d0e1302643443f81..2c54ac31c7a79985a37f69191fb0dee6e3c9db1e 100644 (file)
@@ -3,7 +3,7 @@
 ; RUN: llvm-objdump -d %t.s.0 | FileCheck %s --check-prefix=CHECK-SMALL
 
 target triple = "x86_64-unknown-linux-gnu"
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 
 !llvm.module.flags = !{!0, !1}
 
index 408c02a9ecf5e8a739ae3cbf4d3c9abde72e65b1..1b61747c283d73f6e69e740822a5004f5b4e803a 100644 (file)
@@ -3,7 +3,7 @@
 ; RUN: llvm-objdump -d %t.s.0 | FileCheck %s --check-prefix=CHECK-LARGE
 
 target triple = "x86_64-unknown-linux-gnu"
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 
 !llvm.module.flags = !{!0, !1}
 
index 987d37d22c1c29c6afd609da906d85fc365bcafe..9e03f84b6a0f74c3c23375f114deb9b42c380859 100644 (file)
@@ -3,7 +3,7 @@
 ; RUN: not llvm-lto2 run -r %t0.o,_start,px -r %t1.o,bar,px %t0.o %t1.o -o %t2.s 2>&1 | FileCheck %s 
 
 target triple = "x86_64-unknown-linux-gnu"
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 
 !llvm.module.flags = !{!0, !1}
 
index 69f8bfaac3b0c84213ffeb88baf2fd72df544732..a54f09d8512a94cddc04305c048895a36eca0781 100644 (file)
@@ -2,7 +2,7 @@
 ; RUN: llvm-lto -o %t2 %t1
 ; REQUIRES: default_triple
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 module asm ".align 4"
index d1dddf1a71f01778b5bec260462b1264b0ecf69b..56ed420ff005329f45cbe6e2a2415091dd892db5 100644 (file)
@@ -25,7 +25,7 @@
 ; YAML-NEXT:   - String:          ')'
 ; YAML-NEXT: ...
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-darwin"
 
 declare i32 @bar()
index 94f88ec43c5c71ffc83c9804c8c92d4c3c8834f9..6af6d8637c2ef9682df58ca04e57cf396104d879 100644 (file)
@@ -61,7 +61,7 @@
 ; YAML-NEXT:   - String:          ')'
 ; YAML-NEXT: ...
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-darwin"
 
 declare i32 @bar()
index e66ebac05ce4258ab746553dbb6967e25bea95a6..68c2c9dd212799ec93193b8a44f1b88b370ed395 100644 (file)
@@ -2,7 +2,7 @@
 ; RUN: llvm-lto -debug-pass=Arguments -exported-symbol=_f -o /dev/null %t.bc 2>&1 -disable-verify | FileCheck %s
 ; RUN: llvm-lto -debug-pass=Arguments -exported-symbol=_f -o /dev/null %t.bc 2>&1 | FileCheck %s -check-prefix=VERIFY
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.10.0"
 
 ; -disable-verify should disable verification from the optimization pipeline.
index 4e2666817c46ff5808f5b97ca1438910e7f5cc99..eb9f7df5c8b30a576997475be97f962882d2deec 100644 (file)
@@ -9,7 +9,7 @@
 
 ; ModuleID = 'a.obj'
 source_filename = "a.cpp"
-target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-pc-windows-msvc19.11.0"
 
 ; Function Attrs: norecurse nounwind sspstrong uwtable
index 6b18aa7ded03713483af8af3801de7756d05b1e3..aa6aa652cdca2a502bdcc1a59ecf76d6e469e4c2 100644 (file)
@@ -30,7 +30,7 @@
 ; INTERNALIZE2-OPTION-DISABLE: define dso_local void @foo
 ; INTERNALIZE2-OPTION-DISABLE: define dso_local void @bar
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 define void @foo() {
index 51e5eabd03f5afc6af95b03ec50320cb4b7d38b4..34d2544db45289c13c5b8acbf4905c26e61c1824 100644 (file)
@@ -5,7 +5,7 @@
 ; rdar://problem/16165191
 ; runtime library implementations should not be renamed
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-darwin11"
 
 @str = private unnamed_addr constant [13 x i8] c"hello world\0A\00"
index cdae8ab38ffbd5eca83cdda7836bf52d2374bf06..05de9446881afe1f9b8a27307f8199c1cad14998 100644 (file)
@@ -3,7 +3,7 @@
 
 ; CHECK: contains ObjC
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.12.0"
 
 %0 = type opaque
index 6743121b71562ad6a7a429d4174c8abdbf7880b6..be5b88c592a84ceb83862c8a91c30cc8c58d1b67 100644 (file)
@@ -7,7 +7,7 @@
 
 ; CHECK-NOT: Global is external, but doesn't have external or weak linkage
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define i32 @foo() {
index e13a393442d3af4a5c04992150851d7aa22a82fa..3f705fc841e423241408fd7c31c82dbf5b377993 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: llvm-as < %s >%t1
 ; RUN: llvm-lto -o %t2 %t1
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @.str = private unnamed_addr constant [7 x i8] c"hello\0A\00", align 1
index cac72f4330b3afe4f107179b0bae41ecd19b74f6..30c27dfd5ec5a4e21159fd7d0e3a565a670a524e 100644 (file)
@@ -5,7 +5,7 @@
 ; Verify that we correctly rename the intrinsic and don't crash
 ; CHECK: @llvm.masked.store.v4p0s_some_named_struct.0s.p0v4p0s_some_named_struct.0s
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 %some_named_struct = type { i8 }
index e6cc51fcfcf1129545fd6347a7a6c3568cbb1b0a..56cbb4b2dce314002d2091d4e41c501485a7f5c4 100644 (file)
@@ -2,7 +2,7 @@
 ; RUN: llvm-lto -exported-symbol=_main -set-merged-module -o %t2 %t1
 ; RUN: llvm-objdump --print-imm-hex=false -d %t2 | FileCheck %s
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.10.0"
 
 ; CHECK: _main
index 6ef46974403f80955cd2c3dbe5a8ac5a63cee686..00508aeaf8a49395202d34b618ded06e3de75c3b 100644 (file)
@@ -9,7 +9,7 @@
 
 ; CHECK-WARN: warning{{.*}} ignoring invalid debug info
 ; CHECK: {{f$}}
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx"
 
 define void @h() #0 !dbg !7 {
index f8db5a15fe9afcf0998e889090d0d89a9fd42b05..32a721dbea7ffe5fef425ebd9b4cddbf3992c98f 100644 (file)
@@ -29,7 +29,7 @@
 ; CHECK-WARN: warning{{.*}} ignoring invalid debug info
 ; CHECK-WARN-NOT: Broken module found
 ; CHECK: foo
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.12"
 
 declare void @bar()
index 85d032ba1abc28741e6d781ef1827d1edd7eeafd..0cb3d661d03950e35209df4362a7d9c23e9e74ce 100644 (file)
@@ -5,7 +5,7 @@
 ; RUN: llvm-nm %t3.0 | FileCheck %s
 ; RUN: llvm-dis %t3.0.2.internalize.bc -o - | FileCheck %s --check-prefix=INTERN
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 module asm ".symver io_cancel_0_4,io_cancel@@LIBAIO_0.4"
index 42d6e54bd06ae8caf4f1a4ffb817fa25eb47f6b5..5eca39d6f3d536096ff2e4a10868676b95cd3d92 100644 (file)
@@ -9,7 +9,7 @@
 ; RUN: llvm-lto2 run -r %t1,_start,plx -r %t1,_start3,plx -r %t1,foo@@SOME_VERSION -r %t1,foo@SOME_VERSION3 -o %t3 %t1 -save-temps
 ; RUN: llvm-nm %t3.0 | FileCheck %s
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 module asm ".global _start"
index 0ae8f88c48946f2f93d7fc208eeca3cdb00bb1fd..c64a9beb870ab4291d937fcf512ea181cfdf07b1 100644 (file)
@@ -3,7 +3,7 @@
 ; RUN: llvm-as < %s >%t1
 ; RUN: llvm-nm %t1 | FileCheck %s
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 module asm "foo1:"
index 2c3a9b52fa9c31493c42fc547d4f947b3c6169bc..794e6031ebd87846a73dbb479328833bc71e2f05 100644 (file)
@@ -10,7 +10,7 @@
 ; RUN: llvm-lto2 run -r %t1,foo,plx -r %t1,bar,plx -o %t4 %t1 -save-temps -use-new-pm
 ; RUN: llvm-dis < %t4.0.4.opt.bc | FileCheck %s
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void @foo() {
index 4c45dd1e75576ea5563dfae52f91dec1a81a6601..397587380ca50aa4c7570c0a7aec87acfbe4ea1e 100644 (file)
@@ -11,7 +11,7 @@
 ; RUN: llvm-lto2 run -r %t1,_pow, -r %t1,_main,plx -o %t2 %t1
 ; RUN: llvm-nm %t2.1 | FileCheck %s
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.9"
 
 declare double @pow(double, double)
index a6ff12d11fd62abe821fd586560d0ecfda41f080..9e91498478cbdc4c93e446c74b90360a417573fb 100644 (file)
@@ -15,7 +15,7 @@
 ; transformation on Windows.
 ; CHECK: U exp2f
 
-target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-pc-windows-msvc19.11.0"
 
 define dso_local i32 @main(i32 %argc, i8** nocapture readnone %argv) local_unnamed_addr {
index f14183f506f78eeb3de247dca3047a992b1f9edf..967b68fa3ebb82f73b2b447c8c831b65d4ca7c30 100644 (file)
@@ -4,7 +4,7 @@
 ;
 ; Test for the issue described in https://bugs.llvm.org/show_bug.cgi?id=37684
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; T1 will be linked against T2 because T2 was already loaded in %t0.o due to
index e55e40b1d052675dd5118f1d99e70e73dc039d9a..88bc8335f5eed0aa7219c213ea2ed09cbe3255bf 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define internal i32 @f(i8*) unnamed_addr {
index 43608d5bf8908617eb4914b5ed3aa6d18bfd1699..489db0627d8f243b062692d64a602deeab96d86a 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void @f() !type !0 {
index 58bfb39f9ee18c87ea764cf8eff803c59d7d78a6..f0ebfe29da0312c997d960718bd7f7bce5a9f295 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void @f1() {
index 899bbaea13d6f5fbd753ab5e90d3ce12f6669b01..258a20be169f4ba143f388e56fef1a190e2dac63 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void @f2() {
index 95ecd1824351eace2890e9ba52b034383fba3519..2cf9a2d8643390ccfd6affe51188ad6b66f89923 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define i1 @importf1(i8* %p) {
index e53673bcd05e169589cb113a08e71ae7a8dda70e..679b6b3c682b31525e2eff101559325956245e43 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @vt1 = constant i32 0, !type !0
index 283badad3bbf08ee4b8cb12b71b71a997d80006a..067804293b50b3d115b0b726bb0154bb51f23c18 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @vt2 = constant i1 (i8*)* @vf2, !type !0
index 830622e9cd762613d49d60e40616032589a9b7d5..c3de5205ede5aab95e529277863fbedf967f6967 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @vt2a = constant i1 (i8*)* @vf2a, !type !0
index aab44cb80c76a6541b08d150c8b13b5602f3d34e..62ddd68ef6a2fbc38ee4502eb8181587b8d38418 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 
index 1e77b08863aa84419394be5c1b60e9290f99d475..7718347e3245c455f1d9871dfe7e37fc9496568f 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @fptr = internal unnamed_addr global i32 (i32)* @f2, align 8
index cc1c4fd78753793d373e247e1ee10ca7ad64bb77..18554a009fc1573b616e057eb6adb208bb0064a3 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-grtev4-linux-gnu"
 
 %struct.B2 = type { %struct.A2 }
index 06fb015b222c3fbec145ffde6bcaa1f70c64e40b..94186ae16216989b04d01761e2acc9dcbfa3289c 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 declare !type !0 i8 @bar(i8*)
index 4880cd98d81ea0f26bb4cdd87ec41308cbc6998e..70d3edd7efe62cbc34dcf5c1731853d8d1e24959 100644 (file)
@@ -1,6 +1,6 @@
 ; ModuleID = 'test/ThinLTO/X86/Inputs/crash_debuginfo.ll'
 source_filename = "src.bc"
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.7.0"
 
 define void @bar(i32 %arg) {
index 057305ae67e1a43a73a79075d3dc943f92d82fe8..34211802a7718a20c7cfda19d8e82749a7c442ec 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 declare void @dead_func()
index 7e80c4d7c44719987403a73361215678f5aa13cb..5b1e16b479dde01374c1a4cc85db1dfaf1087119 100644 (file)
@@ -1,6 +1,6 @@
 ; ModuleID = 'debuginfo-compositetype-import2.c'
 source_filename = "debuginfo-compositetype-import2.c"
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; Function Attrs: nounwind uwtable
index 6b824e94073b2950feac88c81e2cae2119ba1d56..243707249085b7ad667a28148240df87f7f8df45 100644 (file)
@@ -1,6 +1,6 @@
 ; ModuleID = 'debuginfo-cu-import2.c'
 source_filename = "debuginfo-cu-import2.c"
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; Function Attrs: nounwind uwtable
index 659c0afccde51f12e06635b8957b4a34e8432b3a..a67e803161d58b956103512862ba7c49886e9834 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-grtev4-linux-gnu"
 
 %struct.A = type { i32 (...)** }
index 35154e67947c028cc3d21f337e412fa18294a349..c6ef6d1c78e559c1c46676a5dde80559d197887c 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 
index 8fa97d4f0adfd88a0e6e429fc7f13cbcdbaae349..ee1c272d39734c1021591e87ac84796194a2741c 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-scei-ps4"
 
 %struct.CFVS = type { %struct.Vec }
index e27a7b1623f1bbca569a7457c2f7b45daab9c439..8d31eae6e813c127460f6f9dc3454c507243566c 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 
index 507fa13c6231c702a96df0f21e3e982587611b4a..1d2f584975ef6f64580d40b1eed03410bb571465 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-scei-ps4"
 
 %struct.CFVS = type { %struct.Vec }
index d149de2a96f9442368f02fc27eba22bc401b0c43..4e745a459facba34ef3238847620309e4eab834a 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @A = local_unnamed_addr global i32 10, align 4
index 6d9783e92d00b8be4c4ff7155f43108dcae6699a..854c1e4a2de068c8be751117d018cee7e610746e 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @A = local_unnamed_addr global i32 10, align 4
index cf3b295153a7230253d220fb1843632f2c607ed3..ad9c48597b9a8d97b074ff8671f2cd10c9561d16 100644 (file)
@@ -1,7 +1,7 @@
 ; This file is checked-in as a .bc file, because the debug info version is
 ; intentionally out-of-date and llvm-as will drop it before writing the bitcode
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 
index 5e08d9812db96f7a766d3b9971f03ef040a5dde5..1dfb7c5b9622c0e30e58c3481e745e74d4559fb5 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-pc-windows-msvc19.11.0"
 define dso_local dllexport i32 @foo() {
   ret i32 42
index 31c72ec4653a644b0266f5eeb78a988454612b45..7cf01bc86c3748e819cf1ee2458b4a405f6978bd 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void @g() {
index 2136ec3471d139a10df1d4b53b4f827f6a2fef71..8776860d73953307dca9bc5b6bbacbf9ae2b25f6 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void @h() {
index a3c99cdfe7721eaad054024e40e3b9b8ff71c384..a4e3140422e6eeafa4e2fb681aaefdbd8cb864f6 100644 (file)
@@ -1,2 +1,2 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
index 1c55e078ea3907dd3a9cbd66bbf64e168551f27e..276cf61d0429a19983a81929137c370fade46fa7 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 
index cab8591fd9fda82e4909bde62cd1ab7ec3b83b60..d99a76c3fce421ade914c265675beae288ca8cce 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 define i32 @main() #0 {
index b204afe3d4d95a23243756bc761537342b060cde..022d10641ebff8e094450e1ba1da07c78d4c1a4c 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 
index 72aea1e5e2522b43345bec7f7c95f5ecbb120c13..4ecfa7886b5ac8e597b476264ad75e61fa901cd6 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 
index e0df9e0e7c0d7a79267ac36425bfcd1b49ffc4a5..1a79dbe14dc08d22d592c3c66061c9a324bc7f40 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 
index 216ef0f1daa8c7bca87b783b6c58c930d9863456..dcebd1848836827da8b5571d473fae4f11bc8ed6 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 
index ea2c2eda8d5a0f173f1de1d6918a723551dea283..87418dd30e8f39136f56f8a4e6cc94d6efda84d4 100644 (file)
@@ -1,5 +1,5 @@
 target triple = "x86_64-unknown-linux-gnu"
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 
 declare void @h();
 
index fe1fa70ee831270b06b302d7abfa7dafa8dda3ad..3349549f66fc25e5c66a105bd1756c2e4bf0fa5a 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @label_addr = internal constant [1 x i8*] [i8* blockaddress(@foo, %lb)], align 8
index e41163063b4fed90f57ea862e4d365d214d53876..5a3e5001f6d8617c10bb176ca73c923879fb4aa7 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-pc-linux-gnu"
 
 @baz = local_unnamed_addr constant i32 10, align 4
index b229f4a4bde0ff0c1378fac22018459dd853c774..ec4ff6eb3384578ded2795cbd9bc8643723dcd97 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-pc-linux-gnu"
 
 @baz = internal constant i32 10, align 4
index fe2b2934724b677bfea868a3f4f0bbdba724b465..5c452d58e8c0b4583ca6dc5defcc459845beec2a 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 %0 = type { i8 }
index d5aa6ee0b616cd51a6973085894334fbfcaedc66..8d76b450c8a8553891cbb51bf614165dc686a54d 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @g = global i32 42, align 4
index 5f85f1e38c9ef16aede3490859bbbaa32a9f073c..a306b5a3491fd35c7f090e976b59b8835acbc7ec 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @gFoo = internal unnamed_addr global i32 1, align 4
index 6bcf3b32d0d661c84adb3f454634f7cff70f5e45..a7a21f9337d109811e1b621a617ec920afcb3501 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; Function Attrs: nounwind ssp uwtable
index 75a8f071f485f6408fbfeb2f037b03b55da10cc3..05a168fc8f0ee8e8220db9296d059f56ab111c29 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; Function Attrs: nounwind ssp uwtable
index 819ba8caa324e80e73506ea2b3472807493574d4..44c9b3e26f317505c81ba2da96ad2588df9a76c1 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 $comdat.any = comdat any
index 555f76f5930124d5eb788b53cef54135e2c46539..68947b4c3b142d84fc567b76647a5020c2568d87 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @g = global i32 42, align 4
index e22f9198951ee8498868fbc4bc0a66b35ff600de..df57a897b72cd58b35d3deb435b4443b1914ad80 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @g = external global i32
index ec0de9c91418e959937caf1c4c47460fb6c5512e..53020763dffcd205fb31c8d92d5c5ada89c6f7ac 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @b = global i32* @a, align 8
index 24c724743e08e1ec77ef7919257566d51668a2c1..7f74ca67113f281e03f650a782dc50f24ad19752 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @g1 = common global i32 0, align 4
index eda62fb4e5bebef17f67ed138006397819622522..90e1763349cda49f95300e37dcc7d7ff4a7bcf1e 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-pc-linux-gnu"
 
 @gBar = local_unnamed_addr global i32 2, align 4, !dbg !0
index f51a08a1a3fc4d7618aa0b4b52bcdc67c24d4ced..5ad8652b5d289f74a45bce25aaf28cc861ce0037 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 declare void @globalfunc1()
index 66847f50b15151de9938f0f862953a47fd500f0a..f832f843d45673f83a817318c55395ea8f8f8cd5 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-grtev4-linux-gnu"
 
 define i32 @main() #0 {
index 6ec8d0048fd59107acfa03ebe960935167e9226b..e0bb06859e71af88ffbfbc48b2b5b77f9544635e 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-grtev4-linux-gnu"
 
 @linkonceodrunnamed = linkonce_odr unnamed_addr constant i32 0
index 59434a819869eb351d8be68ba495e1bf4c8d86f6..92b5182315943ece4a0bfd8f2c51f0b52ab63ad7 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 $c2 = comdat any
index 35f5529c2b6f201e49d6624f3d94d0319a5978fd..8f13709524b8237288969396060bedc375e75cea 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 
index d7b7ea61883021f508e6f1d2bf471a63e56d0d5c..de43b7825b9d4a648989a5a86ea654646eb6a0ca 100644 (file)
@@ -1,6 +1,6 @@
 ; ModuleID = 'local_name_conflict.o'
 source_filename = "local_name_conflict.c"
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @baz = internal constant i32 10, align 4
index 40a4e866599e8fce11c5b0da8ec6b0ba8be63b10..7e2412af20faa69403384cd0b76262c286ca1332 100644 (file)
@@ -1,6 +1,6 @@
 ; ModuleID = 'local_name_conflict.o'
 source_filename = "local_name_conflict.c"
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @baz = internal constant i32 10, align 4
index fb5306fc337ff6b9a48c188792a9dd32d3ecf71c..bec5f67f594dfe57413be01cd94c55cd0fc658a3 100644 (file)
@@ -1,6 +1,6 @@
 ; ModuleID = 'local_name_conflict_var.o'
 source_filename = "local_name_conflict_var.c"
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @baz = internal global i32 10, align 4
index bf3c262f180bff494965e413cb8c671e30f71359..51cd0bef0955f97407729be11152157739ff4397 100644 (file)
@@ -1,6 +1,6 @@
 ; ModuleID = 'local_name_conflict_var.o'
 source_filename = "local_name_conflict_var.c"
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @baz = internal global i32 10, align 4
index 6ee881573ce669c8e7648f08b7da2025720b0d07..3be4b8f44425b6caf20ecb1db4d5c6484bac5271 100644 (file)
@@ -1,2 +1,2 @@
 target triple = "x86_64-apple-macosx10.11.0"
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
index 337e8613c6e9986dee691106db3384ec998d248c..f713310eaef8a910129f70bb301f72b5591680ef 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define i32 @main({ i64, { i64, i8* }* } %unnamed) #0 {
index a8081cccaf3453702a479c9abe5c90c43d682aa3..f5ff45178d19e5c58435c6c58a1702be57866bcb 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define i32 @main({ i64, { i64, i8* }* } %unnamed) #0 {
index 73db2912cabc00746db762234c92acfed7f103d5..f412b332c1c19f217d22063303f21c15dc22c08b 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-pc-linux-gnu"
 
 define i32 @foo(i32) local_unnamed_addr #0 {
index dc27a375e1a75882d0e248d85e0fbbd542ad29b5..c610a69746e3de88cca0387faee0386f130aa0c9 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-pc-linux-gnu"
 
 define void @foo() {
index 37046b5c28d92903e3c2040760038bfeda6d2fdc..c97b5038639be1b58776b18d1f4e9e05350085d7 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-pc-linux-gnu"
 
 define void @bar() personality i32 (i32, i32, i64, i8*, i8*)* @personality_routine {
index b9c92b3e3fbfa8b5a7dfd6b6467d56a0b118a7a8..c330193d737cbb211384655d4bc1a9545fe99b8b 100644 (file)
@@ -1,6 +1,6 @@
 ; ModuleID = 'b.cpp'
 source_filename = "b.cpp"
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; Function Attrs: noinline optnone uwtable
index dab18539ec6eb03d596b90ea5f2452f64b48127c..66289663a0dccabdd2ce6fadc0c7cc8e788ace8d 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 declare i8 **@foo()
index f5e7bc9d89a1bf1996c8fed5ed4dbd54de3a540c..205308ba234cb0311b2ff16853c9136ec662ee1f 100644 (file)
@@ -1,5 +1,5 @@
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 define void @referencedbyglobal() {
index 5473f817f13750b28bf892448a706b810a93c10d..f2d74a03737e45bc78b93dde45ae8eff4503eee7 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 $__llvm_profile_filename = comdat any
index 225685d931b0c60e5eaa9e08ac011f16b33ad97f..de41676271c5a46ee0d5766ac5d67f598b967914 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.15.0"
 
 define i32 @main() {
index fe9edc66d49555d10a54e2de161efd5b18b3737c..9ef7cbb0986bcee1c3be913231fa69ced3e51b01 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 ; Alias are not optimized
index d6433f6981dafdd0a625ebe8fd3318953741178c..18ee176b88c4efede2c1390f5a2609bc4d18fc91 100644 (file)
@@ -11,7 +11,7 @@
 ; CHECK-DAG: M0_12511626713252727690 -> M0_{{.*}} // alias
 ; CHECK-DAG: M1_8129049334585965161 -> M1_{{.*}} // alias
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define internal i32 @f(i8*) unnamed_addr {
index 77f7eb0e0e02833199287ff2d310406666c11f6d..3d31dd726a12ca1e419ebd6a7d3ca7203d43fe70 100644 (file)
@@ -19,7 +19,7 @@
 ; SUMMARYNAMES: ^2 = gv: (name: "globalfunc2",
 ; SUMMARYNAMES: ^3 = gv: (name: "globalfunc1"
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 define i32 @main() #0 {
index 7dc6504a7e01af48c5d8beb08fecc36691b43460..690ae322a26192a6b5365e2c632bdeaede43955e 100644 (file)
@@ -46,7 +46,7 @@
 ; eliminated once the old lto interface is fixed.
 ; CHECK-NM2-DAG: t __stack_chk_fail
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void @bar() {
index 54328885f553ad5bc1c50267739e605e967cac3a..ccc730d35e5e1f8b4138a5f7d20d94a8318e6ae6 100644 (file)
@@ -18,7 +18,7 @@
 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -default-triple=x86_64-unknown-linux-gnu
 ; RUN: ls %t.cache | count 15
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void @globalfunc() {
index 83b740de4d54f3028ded382566b34ac1049702e6..e3a3c66c1ee055f4d0972a028f4938ad8b26d6aa 100644 (file)
@@ -29,7 +29,7 @@
 ; SYMBOLS-YES-DAG: {{FUNC .* f.cfi$}}
 ; SYMBOLS-YES-DAG: {{NOTYPE .* UND f.cfi$}}
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define i8* @_start(void ()* %p) !type !0 {
index ba7b437e8cad89d9522a6e06187be1c036c068b3..225f7d8bbe681b4577de27134bc4eff80608601f 100644 (file)
@@ -11,7 +11,7 @@
 ; RUN: llvm-lto2 run -cache-dir %t.cache -o %t.o %t.bc %t2.bc %t1.bc -r=%t.bc,main,plx -r=%t.bc,f1,lx -r=%t.bc,f2,lx -r=%t2.bc,f2,plx -r=%t2.bc,linkonce_odr,plx -r=%t1.bc,f1,plx -r=%t1.bc,linkonce_odr,lx
 ; RUN: ls %t.cache | count 6
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void @main() {
index e5092dd63ec06f54fe3ffdceabd79662c3ab65f0..6618a6f280fe628cb31713929c599e9fc15c31bb 100644 (file)
@@ -22,7 +22,7 @@
 ; RUN: llvm-lto2 run -o %t.o %t.bc %t-import.bc %t3.bc -cache-dir %t.cache -r=%t.bc,f1,plx -r=%t.bc,f2,plx -r=%t.bc,f1_actual,plx -r=%t3.bc,vt2a,plx -r=%t3.bc,vt2b,plx -r=%t-import.bc,importf1,plx -r=%t-import.bc,f1,lx -r=%t-import.bc,importf2,plx -r=%t-import.bc,f2,lx
 ; RUN: ls %t.cache | count 6
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @f1 = alias i1(i8*), i1 (i8*)* @f1_actual
index 75e6b7fd6be76c3f31086cd0abb6266b275f5c03..c9285f91b2557ec378150a41e6db25dec16bcc5a 100644 (file)
 ; RUN: not ls %t.cache/llvmcache-foo-1024
 ; RUN: not ls %t.cache/llvmcache-foo-7
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 define void @globalfunc() #0 {
index 457cdb319fa334087e3f0564aa017ffd40c6e438..3e416dd3debc629bc76f0e93cd96ebeb638146d9 100644 (file)
@@ -10,7 +10,7 @@
 ; CHECK: define {{.*}} i32 @f1.llvm.0
 ; CHECK: define {{.*}} i32 @f2.llvm.0
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define dso_local i32 @bar(i32 %x) {
index 760c02a24ea7bf67bc25397c9f2fe19872176c02..dd83024e2634434d22c38eed01536283c292c819 100644 (file)
@@ -61,7 +61,7 @@
 ; RUN:   -r=%t.o,_ZTV1C,px 2>&1 | FileCheck %s --check-prefix=ERROR
 ; ERROR: failed: inconsistent LTO Unit splitting (recompile with -fsplit-lto-unit)
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-grtev4-linux-gnu"
 
 %struct.A = type { i32 (...)** }
index 5339228515429bec2bb69a123bacc84216682287..5959cc72988dd2fe15f2f4c64d62440ab6eef89b 100644 (file)
@@ -40,7 +40,7 @@
 ; INDEX2: typeid: (name: "_ZTS1A2"
 ; INDEX2: typeid: (name: "_ZTS1A3"
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-grtev4-linux-gnu"
 
 %struct.B = type { %struct.A }
index 842468508f56546cf57aae1784cf96b38ec73cbd..1721778d780c82e42c2f934caea8ad4e76d853b0 100644 (file)
@@ -14,7 +14,7 @@
 ; RUN: llvm-bcanalyzer -dump %t1.bc.thinlto.bc | FileCheck %s --check-prefix=FOOBAZ
 ; RUN: llvm-bcanalyzer -dump %t2.bc.thinlto.bc | FileCheck %s --check-prefix=BARQUX
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 declare !type !0 i8 @baz(i8*)
index 42c26f15893105dfb41da5dfb617e924d715176b..96179e2562435fa66fa4acc51bdff5e233d791c9 100644 (file)
@@ -5,7 +5,7 @@
 ; RUN:   -r %t1.bc,addrtaken,px
 ; RUN: llvm-bcanalyzer -dump %t.out.index.bc | FileCheck %s --check-prefix=COMBINED
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define i1 @foo(i8* %p) !type !0 {
index 0edddb82be9ec650bee4f5dbe1c0bcc4e16d4bb9..e406009743e21502cafbeb887dd69a2e86849fe4 100644 (file)
@@ -22,7 +22,7 @@
 ; RUN:   -r=%t.o,_ZTV1B,px
 ; RUN: llvm-dis %t3.1.4.opt.bc -o - | FileCheck %s --check-prefix=CHECK-IR
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-grtev4-linux-gnu"
 
 %struct.B = type { %struct.A }
index 31403269b6b69fc9ed6faa8983a03d66d67ad1fb..d0d63f25ee06dbbc1a8faa3e5d94e641b6b4125e 100644 (file)
@@ -11,7 +11,7 @@
 
 ; ModuleID = 'test/ThinLTO/X86/crash_debuginfo.ll'
 source_filename = "test/ThinLTO/X86/crash_debuginfo.ll"
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.7.0"
 
 define void @foo(i32 %arg) {
index 2f389c52c5c5d762b61caff18a3cb6d69e717a93..9409039f43015216dbe5eee98275879a5a649804 100644 (file)
 ; and called from @dead_func.
 ; CHECK-NM-NOTDEAD: T _baz
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 
index 5859875b1611dd568bc9a0f5f118080bad50f433..578b0ced870bd59f2beb9ddc856e5e4aab989970 100644 (file)
@@ -34,7 +34,7 @@
 
 ; ModuleID = 'debuginfo-compositetype-import.c'
 source_filename = "debuginfo-compositetype-import.c"
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; Function Attrs: nounwind uwtable
index 93fd8dc86a3779159232bc4ba3c296ced450272d..1f07f96f3239c0c30d34139f49ad3488747fe27b 100644 (file)
@@ -17,7 +17,7 @@
 
 ; ModuleID = 'debuginfo-cu-import.c'
 source_filename = "debuginfo-cu-import.c"
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void @foo() !dbg !28 {
index 8edb8698198d50513ba5f12df434cbd8a1628d13..af6eba77ba4e726df846f644e0298b12294755f2 100644 (file)
@@ -85,7 +85,7 @@
 ; REMARK: single-impl: devirtualized a call to _ZN1B3barEv
 ; REMARK-NOT: single-impl: devirtualized a call to _ZN1B3fooEv
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-grtev4-linux-gnu"
 
 %class.A = type { i32 (...)** }
index 1bace72eba3720bf1110a9701de76e8f084b4f65..eae8c69eb061353a74e2c3eaac2efc5cd35f0da1 100644 (file)
 ; REMARK-DAG: single-impl: devirtualized a call to _ZN1A1nEi
 ; REMARK-DAG: single-impl: devirtualized a call to _ZN1D1mEi
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-grtev4-linux-gnu"
 
 %struct.A = type { i32 (...)** }
index 9218f97ba17c3e7495d1b53a6e83abbbff198f88..01eed382f24c916a02c066d3a947c30c24cff715 100644 (file)
 ; REMARK-DAG: single-impl: devirtualized a call to _ZN1E1mEi
 ; REMARK-DAG: single-impl: devirtualized a call to _ZN1E1mEi
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-grtev4-linux-gnu"
 
 %struct.A = type { i32 (...)** }
index 239e6efe3a19524132163f3fc1b83b5fa2f915a0..94bad9b3ba329fed63078cee54c853b4b79e5d3f 100644 (file)
@@ -53,7 +53,7 @@
 ; YAML2-NEXT: ...
 
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 define i32 @bar() {
index f0ff9542ee1b3ceb4fdb7f362ad2f17a92163168..b83e93b7a29de880fba35da43b7bdd99aae6ee60 100644 (file)
@@ -52,7 +52,7 @@
 ; YAML2-NEXT: ...
 
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 define i32 @bar() {
index 2c4e3ea721daecce76a7317120fbe54245082b3b..ff1f40d6ddcd68f687b058adbbcffb84039251f2 100644 (file)
@@ -20,7 +20,7 @@
 ; CHECK: DICompositeType
 ; CHECK-NOT: DICompositeType
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-scei-ps4"
 
 %class.C = type <{ i32 (...)**, %class.A, %struct.CFVS, [6 x i8] }>
index e61b515d4fd2a692f790a88e21c8c6351051cfa4..dbf14911c450f5c42d3a89c0b2b6c382b102b15a 100644 (file)
@@ -8,7 +8,7 @@
 ; RUN: llvm-dis %t.1.3.import.bc -o - | FileCheck %s
 
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 declare void @foo()
index f275ea1b23e02c74d2189022fe18587ae99fface..e7ecc97e31f1b932504c6c9896ca96365fa9d555 100644 (file)
@@ -13,7 +13,7 @@
 ; Only llvm-lto2 adds the dso_local keyword, hence the {{.*}}
 ; CHECK: define available_externally{{.*}} void @_ZN4CFVSD2Ev
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-scei-ps4"
 
 %class.C = type <{ i32 (...)**, %class.A, %struct.CFVS, [6 x i8] }>
index a67fe20bd9c18d7707b94c1c879afbcc7616137d..b65c3be14f71389e851ef837572e1a12e286403d 100644 (file)
@@ -59,7 +59,7 @@
 ; EXPORT: @G.llvm.
 
 target triple = "x86_64-unknown-linux-gnu"
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 
 declare i32 @g(...)
 declare void @analias(...)
index 6d4d1efa9a32ea7bb059dc4dc95389604a18912c..d8acfaaf03b4206038f8ec2fcfd1a275ca50f25e 100644 (file)
@@ -14,7 +14,7 @@
 ; CHECK: // Cross-module edges:
 ; CHECK:  M4294967295_[[ID]] -> M0_{{[0-9]+}}{{.*}}// ref
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @A = external global i32
index d546d90a2ace92164541653b3d3755bc90e065a4..92925426d4254fc35c6687e739478bf29a915b92 100644 (file)
@@ -63,7 +63,7 @@
 ; COMBINED-NEXT:  M0_[[MAIN]] -> M1_[[FOO]] // call (hotness : Unknown)
 ; COMBINED-NEXT: }
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @A = external local_unnamed_addr global i32, align 4
index 8cc9822aed4eb7e73f37b1e28565740fedf62840..1bfa4e0e6e7120dff8bbe9866289852fd939f687 100644 (file)
@@ -31,7 +31,7 @@
 ; COMBINED-NEXT:  M0_[[MAIN]] -> M1_[[A]] [style=dashed,color=violetred]; // writeOnly-ref
 ; COMBINED-NEXT: }
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @A = external local_unnamed_addr global i32, align 4
index a097d6bac98eeac6a17d7483e66407ebee696191..7bbbb9e59109a81c54c6e448be50276bc5e1f7ce 100644 (file)
@@ -7,7 +7,7 @@
 ; CHECK: define available_externally void @globalfunc
 ; CHECK-NOT: llvm.dbg.value
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 
index 12f097f3949b0a1337e64a98917425b52e6f4df4..2c3815a15071fc68b7b195a539639e9d39d35320 100644 (file)
@@ -7,7 +7,7 @@
 
 ; CHECK: declare dso_local void @foo()
 
-target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-pc-windows-msvc19.11.0"
 define void @bar() {
   call void @foo()
index 41dc1482cb0f858b8d18ad17d3517b9e19a5a292..4246264654110d2c702267f877c57045d4bedbed 100644 (file)
@@ -44,7 +44,7 @@
 ; The index file should be created even for the input with an empty summary.
 ; RUN: ls %t3.bc.thinlto.bc
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 declare void @g(...)
index 285e1bcec2e8921818e2785437786105caca9520..01e7089415f323e0940a603e3a80830106788b30 100644 (file)
@@ -8,7 +8,7 @@
 
 ; CHECK: Format: ELF64-x86-64
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @foo = ifunc i32 (i32), i64 ()* @foo_ifunc
index 76fe3e91d20236215dd26e754cda3bea65bdecd8..8e58d9f0db959ed37f32d4cc2ffe201b0ffc7eef 100644 (file)
@@ -31,5 +31,5 @@
 ; RUN: ls %t.cache | count 0
 
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
index cb87ddd063e8601b4fb77a936b12407d5e546efd..b0db1e7468fa8be03b6127b548827a29bdc1dfeb 100644 (file)
@@ -8,7 +8,7 @@
 ; CHECK-DAG: @staticvar.llvm.0 = hidden global
 ; CHECK-DAG: define hidden void @staticfunc.llvm.0
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 @staticvar = internal global i32 1, align 4
index ca6128a51a941ff6a850681700e116664dbe04a2..4e03813b6cf8918e34cc514d6d463d91cad50115 100644 (file)
@@ -21,7 +21,7 @@
 ; CHECK-DAG: ref -> 7546896869197086323 (baz)
 ; CHECK-DAG: edge -> 6699318081062747564 (foo) Threshold:100
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 define i32 @main() #0 {
index c3dfd7d90b001285f6b6e4f3612cde44132534e3..5334fbecb31ea0c09ea69f2cf26af62e29c97f9b 100644 (file)
@@ -10,7 +10,7 @@
 ; RUN:  | llvm-dis -o - | FileCheck %s --check-prefix=IMPORTGLOB1
 ; IMPORTGLOB1: define available_externally float @globalfunc1
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 define float @globalfunc1(i32*, float*) {
index fa1bdbf9f1199e22650c12b4905c7b79a4525111..cb75d55edf5831a1764dcd8729413b6198692e1d 100644 (file)
@@ -46,7 +46,7 @@
 ; ALL: T _callfuncptr
 ; ALL2: T _main
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 @globalvar_in_section = global i32 1, align 4
index 15087be6b569f93a49c9c94218f1156caf34095e..9792fbc57e24c75ac91f32a105d57f3a1bb2cc69 100644 (file)
@@ -33,7 +33,7 @@
 ; RUN: llvm-dis %t.o.2.3.import.bc -o - | FileCheck %s --check-prefix=NOIMPORT
 ; NOIMPORT: declare dso_local void @foo(...)
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 define void @foo() #0 {
index 4ca2ec26a592218cbce3b61d366356b702f9e3ad..686c85291eacaa974b56ee781b529d9cf2702f39 100644 (file)
@@ -21,7 +21,7 @@
 ; CHECK-DAG: ![[PROF2]] = !{!"synthetic_function_entry_count", i64 198}
 
 target triple = "x86_64-unknown-linux-gnu"
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 
 declare void @g();
 
index d4ed674030a70eb760ebc315e0943880bf134da0..9bbbf76f109e8f7f980129b3c7ecce507ecba9be 100644 (file)
@@ -6,7 +6,7 @@
 ; Verify that we haven't imported GV containing blockaddress
 ; CHECK: @label_addr.llvm.0 = external hidden constant
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 declare dso_local [1 x i8*]* @foo();
index a250ed2e92baed01c879c9bcc4b66663de7e908e..663b4ee7ebb4408c828dc2e8d4d24bf9527b31be 100644 (file)
@@ -12,7 +12,7 @@
 ; OPTIMIZE:       define i32 @main()
 ; OPTIMIZE-NEXT:    ret i32 10
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-pc-linux-gnu"
 
 @baz = external local_unnamed_addr constant i32, align 4
index 9fe1ebefe8b15935fceff400e673761684383778..0837cafd06f85c07f1bed5eff412247894defb5a 100644 (file)
@@ -24,7 +24,7 @@
 ; PROMOTE2: @baz = internal constant i32 10, align 4
 ; PROMOTE2: define available_externally i32 @foo() {
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-pc-linux-gnu"
 
 declare i32 @foo()
index bfa251abacaba1e411bc15bca516dee3bb26c777..0a49116a62a2e6bd86a7678b1623c6623bb2c662 100644 (file)
@@ -7,7 +7,7 @@
 ; RUN: llvm-lto -thinlto-action=import %t.bc -thinlto-index=%t3.bc -o - | llvm-dis -o - | FileCheck %s
 
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 ; CHECK: %0 = type { i8 }
index 6426d726843fc55bc277422a478499dc32b43b70..c1e945010fbc61b0ec4f5f9684066f523a242ae2 100644 (file)
@@ -7,7 +7,7 @@
 ; read-only globals
 ; CHECK: @g = dso_local global i32 42
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @g = external global i32
index 592fc9e081a7c21c7d0653df7103ab0ce8fc3004..bd15b5a6204cdd8610de2a12fae295ece22c6af5 100644 (file)
@@ -26,7 +26,7 @@
 ; PRESERVED:      @g.alias = external dso_local global i32
 ; PRESERVED-NEXT: @g = available_externally dso_local global i32 42, align 4
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @g.alias = external global i32
index 62a22af0b1eba05f147771ba25b83a2506009d53..4e45d5e8dbc51f9f0d89ff5dc0a08b06b6e38dda 100644 (file)
@@ -29,7 +29,7 @@
 ; RUN:  -r=%t2.bc,foo,pl -r=%t2.bc,bar,pl -r=%t2.bc,rand,
 ; RUN: ls %t.cache/llvmcache-* | count 6
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; Function Attrs: nounwind ssp uwtable
index e05aaf98d7f0d69cbb0fd0059f26ccaee429bef1..2fdc793b3c2d07685f843aab171857a94a1d5873 100644 (file)
@@ -6,7 +6,7 @@
 ; Comdats are not internalized even if they are read only.
 ; CHECK: @g = available_externally dso_local global i32 42 
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @g = external global i32
index f3ffca8cbdf798b432f97a02a13ec81075e0489c..44fc350e909d66db9c5f842805ce5c9de3f743e8 100644 (file)
@@ -8,7 +8,7 @@
 ; If we try to internalize such we'll get a broken module. 
 ; CHECK: @g = external dso_local global i32
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @g = external global i32
index 26fe4d644b72486750dfdf5d8a22329671338f86..f6260c535ed570afb504694eadb5b789414789d9 100644 (file)
@@ -10,7 +10,7 @@
 ; We cannot internalize @g
 ; CHECK: @g = available_externally dso_local global i32 42
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 declare i32 @foo()
index 87103fee1410ebd5c43ded688da6604f1bc867c0..972283774b8cbc2a49dfa76dd0d6c8be5db96fce 100644 (file)
@@ -13,7 +13,7 @@
 ; DEST:      @b = external dso_local global i32*
 ; DEST-NEXT: @a = available_externally dso_local global i32 42, align 4
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @a = external global i32
index 4646557b6cfc3636421d24892d96f83e98287c2a..3c6d03cb75da9d90209f272ca06da9f6365cd615 100644 (file)
@@ -7,7 +7,7 @@
 ; even when there is 'load' instruction before it.
 ; CHECK: @g = available_externally dso_local global i32 42
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @g = external global i32
index aac917721113ca5d494f768bccfca780fa45f3e4..2c7c794379fa8dbbe565dc58bdc450ece2f39af7 100644 (file)
@@ -14,7 +14,7 @@
 ; CHECK-NEXT: @g2 = available_externally dso_local global i32 42, align 4
 ; CHECK-NEXT: @g3 = available_externally global i32 42, align 4
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 declare i32 @foo()
index 9dac8b81b910d97f00b36dc72b98b06fce7d3497..9718aec8a9441e4b81ae399626ffbdb4c2fa52b2 100644 (file)
@@ -28,7 +28,7 @@
 
 ; IMPORT2: @gBar = available_externally local_unnamed_addr global i32 2, align 4, !dbg !5
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-pc-linux-gnu"
 
 @gBar = external global i32
index a5fbbdf1e92965e65bc3b3c29daa464d048d978b..430c7e8156d2a5ffdc93c8aaca8b44c81d056899 100644 (file)
@@ -74,7 +74,7 @@
 ; CODEGEN2-SRC-NEXT:    %2 = tail call i32 @rand()
 ; CODEGEN2-SRC-NEXT:    ret void
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-pc-linux-gnu"
 
 ; We should be able to link external definition of gBar to its declaration
index 0f7d4a5ca1f50a08f523a5a7bad74ec1e37e4b59..edd5abe8ab424731b4ac6a2a8cefeed43000c50d 100644 (file)
@@ -58,7 +58,7 @@
 ; INTERNALIZE2-OPTION-DISABLE: define weak dso_local void @weak_func_prevailing()
 ; INTERNALIZE2-OPTION-DISABLE: define weak dso_local void @weak_func_nonprevailing()
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 define void @foo() {
index b590ffd417ee76b813a74e00dedc20513db66b7c..d561f02818d18bfb05fd42e723d24b372d7f16a3 100644 (file)
@@ -20,7 +20,7 @@
 ; NOTLAZY: 7 bitcode-reader  - Number of MDStrings loaded
 
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 define void @globalfunc1(i32 %arg) {
index 9086d9824b7b65fa5d6750b28dd8b7fb49f911b5..2cff8b4b275804e9bd0401def1c21f1dc936eeec 100644 (file)
@@ -24,7 +24,7 @@
 ; Check that we imported a ref (and not def) to baz.clone
 ; NM2: U baz.clone
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-grtev4-linux-gnu"
 
 $baz.clone = comdat any
index 68ba48ebd4f19b2efe2e63b84aab54e4cf6a44a6..8b8e3677cbb9831b6ce32911d73b99a05d1bf720 100644 (file)
@@ -17,7 +17,7 @@
 ; RUN: llvm-lto2 run -save-temps -o %t6.bc %t.bc %t4.bc -r=%t.bc,linkonceodrunnamed,p -r=%t.bc,odrunnamed,p -r=%t4.bc,linkonceodrunnamed, -r=%t4.bc,odrunnamed,
 ; RUN: llvm-dis %t6.bc.1.1.promote.bc -o - | FileCheck %s --check-prefix=NOSUMMARY
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-grtev4-linux-gnu"
 
 ; In this case all copies are linkonce_odr, so it may be hidden.
index b61caf284172fac2396c1755f27813a534473d0a..2d8b7e773bb238eb452576d7455e6eb8c7355352 100644 (file)
@@ -21,7 +21,7 @@
 ; and inlined into g()
 ; NM2-NOT: f
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 $c1 = comdat any
index 4b379f72c255c84539536e87981df944bc6d7aea..266ab2beb3b23c5aa98853161e864c5e886fa881 100644 (file)
@@ -8,7 +8,7 @@
 ; CHECK: define available_externally void @globalfunc
 
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 
index 9ca9c40fd11213139b5580eff4fcba1a1b6bab76..cb3a5c0d54d5a2aa47ef9b7f2dfb5ccc19f5d902 100644 (file)
@@ -5,7 +5,7 @@
 ; RUN: opt -module-summary %s -o %t.bc
 ; RUN: llvm-dis %t.bc -o - | FileCheck %s
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 %struct.S = type { %struct.Derived* }
index 1912297cedee496f82c2adc2311522326cf2074f..9e5e79b6ae2b5984bde2ab316204145425d58ee3 100644 (file)
@@ -28,7 +28,7 @@
 
 ; ModuleID = 'local_name_conflict_main.o'
 source_filename = "local_name_conflict_main.c"
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; Function Attrs: noinline nounwind uwtable
index d203fe08e2c4c8616080b874853c98370aff6b67..ed5c6e4fd4f9851e5b6dea7578e7ff2609e03e98 100644 (file)
@@ -17,7 +17,7 @@
 
 ; ModuleID = 'local_name_conflict_var_main.o'
 source_filename = "local_name_conflict_var_main.c"
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; Function Attrs: noinline nounwind uwtable
index 11ab50236fe46884657f9490ffce4c134f78a385..6c5eac6cfb23facbca03bc543cd8975c476e61a5 100644 (file)
@@ -4,7 +4,7 @@
 ; RUN: llvm-dis < %t1.bc.thinlto.imported.bc | FileCheck %s --check-prefix=CHECK1
 ; RUN: llvm-dis < %t2.bc.thinlto.imported.bc | FileCheck %s --check-prefix=CHECK2
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.12.0"
 
 ; CHECK1: target triple = "x86_64-apple-macosx10.12.0"
index b6e2f23509ec7306079e518b75bdb71423d3e9ea..3f0033849f9cd63d5c30bc56a8bf011dfba55a87 100644 (file)
@@ -64,7 +64,7 @@
 ; NM1-NOT: b
 ; NM1-NOT: x
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @b = internal global i32 1, align 4
index 3ce4816c9d65bceea4e556aad10209ca18cd7d87..45b6113cb2476cd4f6717741f5cb15726b971704 100644 (file)
@@ -17,7 +17,7 @@
 ; NM0: T foo
 ; NM1-NOT: foo
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 module asm "\09.text"
index d2f1dfbf7b69b09e9ec7e6b206596c1be7877ba6..b6a649546500cd22512d397778d3ba5ec0a5cb27 100644 (file)
@@ -31,7 +31,7 @@
 ; CHECK-NEXT: {{^}} 0{{$}}
 ; CHECK-NEXT: }
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 declare void @external()
index bfcc60c6807b08d6977e46d55a9a2673f85e026e..860aa4c01580400857419250a54d38e2cc25a299 100644 (file)
@@ -3,7 +3,7 @@
 ; RUN:     -r=%t1.bc,_tinkywinky,pxl \
 ; RUN:     -use-new-pm
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 define void @tinkywinky() {
index 9ef408a237d9ab827ba0fcce9c1c8d4ac9d51c62..611a424143ac87e0c85736ab72ff39dee5311558 100644 (file)
@@ -30,7 +30,7 @@
 ; RUN:   -r=%t2.o,_ZN1D1mEi,
 ; RUN: llvm-dis %t3.1.4.opt.bc -o - | FileCheck %s --check-prefix=CHECK-IR
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-grtev4-linux-gnu"
 
 %struct.D = type { i32 (...)** }
index 27f59ab909678b6de31fdf835b9994afdc605d56..74461853efa7cdb76bbeb0d0be8a242612d0e0bd 100644 (file)
@@ -12,7 +12,7 @@
 
 ; CHECK-NOT: define available_externally i32 @foo
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-pc-linux-gnu"
 
 ; Function Attrs: nounwind ssp uwtable
index 8aa75efaad674db6afa4d12a24ed980264a91be8..af88d2922a4fb1e9cf4b7cc6aa22a10eb215662b 100644 (file)
@@ -18,7 +18,7 @@
 ; CHECK-NEXT:   Section: .text
 ; CHECK-NEXT: }
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-pc-linux-gnu"
 
 declare void @foo()
index edf91057c1a1b7b9564d5a4683b029223c93dfef..bf773a8ae9b64c642f5a7f958dd9f819887ea298 100644 (file)
@@ -42,7 +42,7 @@
 
 ; BINDING-NOT:  Name: personality_routine3
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-pc-linux-gnu"
 
 declare protected i32 @personality_routine(i32, i32, i64, i8*, i8*)
index 96a95aa463659b7668ecc8d85f8800ff9e1651cb..324cb735e52268253afacc61ed810175be6d91c9 100644 (file)
@@ -13,7 +13,7 @@
 ; ThinLTOa-DAG: W _ZN4EchoD2Ev
 ; ThinLTOb-DAG: T _Z5Alphav
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 %struct.Delta = type { %struct.Charlie }
index 51e6f38c38b179254699d145a27bc5577bde0a07..a488b2432f7bde5929dc5cfdaa781ad899b5c037 100644 (file)
@@ -10,7 +10,7 @@
 
 
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 ; We shouldn't promote the private because it has a section
index ac72edd597042ce051e668abf26c0ffdd754ae85..b352cbb2ea42b079b5c5ad1cd25cbc4efccf8e2e 100644 (file)
@@ -21,7 +21,7 @@
 ; EXPORT: define void @referencedbyglobal()
 ; EXPORT: define internal void @localreferencedbyglobal()
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 declare void @bar()
index b9a9c983f831eff6c6dd7144fd2e884757e4d3e7..11b7e9da9ffd4c2f3ce7a46e2b6ada43a269d1bb 100644 (file)
@@ -24,7 +24,7 @@
 ; RUN: ls %t.thin.out | grep x86_64.thinlto.o | count 2
 
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 define void @globalfunc() #0 {
index 214af649fcfab4e451b09f5180990102df5f02e8..4fd72cf3f05c6f3442ade574182e96ddb902e7ff 100644 (file)
@@ -5,7 +5,7 @@
 ; RUN: llvm-nm -o - < %t.bc.thinlto.o | FileCheck %s --check-prefix=EXPORTED
 ; RUN: llvm-nm -o - < %t2.bc.thinlto.o 2>&1 | FileCheck %s --check-prefix=NOT_EXPORTED
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 $__llvm_profile_filename = comdat any
index 065f64ec09a0ffc1ea9e0cfc0521204edc7e657a..e0a2eb7b3d3fb8366c7e5560a99a748951495856 100644 (file)
@@ -4,7 +4,7 @@
 ; RUN: llvm-lto -thinlto-action=internalize -thinlto-index %t-index.bc %t.bc -o %t.promote.bc
 ; RUN: llvm-dis %t.promote.bc -o - | FileCheck %s
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.15.0"
 
 @llvm.used = appending global [1 x i8*] [i8* bitcast (i32 ()* @foo to i8*)], section "llvm.metadata"
index 9a480cba11568ee79b3ea8479007cdd35c1c101f..bf9cf907aec31a34d6c81c482009f7b0a74a14ff 100644 (file)
@@ -25,7 +25,7 @@
 ; ThinLTO-FREESTANDING: fprintf
 
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 declare i32 @fprintf(%FILE*, i8*, ...)
index a07b431e936cb3967529208a9582ce076ba3ab2f..d5429b7234bf71ad6109a9ae0565235057e364c3 100644 (file)
@@ -12,7 +12,7 @@
 ; CHECK: @_ZZN9SingletonI1SE11getInstanceEvE13instance_weak = available_externally dso_local global %struct.S* null, align 8
 ; CHECK: define internal dereferenceable(16) %struct.S* @_ZN9SingletonI1SE11getInstanceEv() comdat
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 %struct.S = type { i64, i64 }
index e39e42285294d4c9ffb02b5272392efca96616ea..b9f10afd6d624d4796ba6fcbe02fb7141060606b 100644 (file)
@@ -12,7 +12,7 @@
 ; When exported, we always preserve a linkonce
 ; RUN: llvm-lto -thinlto-action=promote %t.bc -thinlto-index=%t3.bc -o - --exported-symbol=linkonceodrfuncInSingleModule | llvm-dis -o - | FileCheck %s --check-prefix=EXPORTED
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 ; Alias are resolved, but can't be turned into "available_externally"
index 7c2af6d9cce347715efebe39a5dc964200655334..20f4533efe686700f1bf9a34a6a910b78e71e7f3 100644 (file)
@@ -25,7 +25,7 @@
 ; OPTIMIZE-NEXT:   %2 = tail call i32 @rand()
 ; OPTIMIZE-NEXT:   ret i32 0
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-pc-linux-gnu"
 
 @gBar = external global i32
index b1e53ba47b5cb19b8d407d86ae3e0dc87a9c3bf7..a7383f25b48226530c83bce4a17c4bc3cd549edd 100644 (file)
@@ -37,7 +37,7 @@
 ; CODEGEN-SRC-NEXT:    %2 = tail call i32 @rand()
 ; CODEGEN-SRC-NEXT:    ret void
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-pc-linux-gnu"
 
 ; We should be able to link external definition of gBar to its declaration
index 1df6f25351e58731df01c00cd4d2c6c13d5da5c0..3eac3e31908a3ceb5bb479dbb77f7d9653dd0ace 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-pc-windows-msvc19.0.24215"
 
 define void @main() {
index f553af41896fcbd03e3c69d914c00d9c0e7c89ea..75ecf71c495eee47f91f3772680c335e4f9fdd10 100644 (file)
@@ -1,5 +1,5 @@
 ; ModuleID = 'funcimport_debug.o'
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; Function Attrs: nounwind uwtable
index 2b2443c96afeb3394cf0f1aa5757f339ea798014..a2ea145f2b453daf8f740bb09356969cdcde1c80 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 define void @foo() {
index 278a7f4553fe0b05f30ce2c1547ec057b1d3e478..78da8b5994d2c071c7de2ae44bcd316792c6cb2f 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 define linkonce_odr void @linkonceodrfunc() {
index 95abe658e34564c6959c9281fe794dca5a86bbe4..5a6240aa444de69b7fe52c5b6408b73d1c8650b1 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @link = internal global i32 0, align 4
index 6951b65818d589e8f82e083300860ccedc8133d3..3ee74a25eb00254ba33a56949bd48e374113c615 100644 (file)
@@ -1,5 +1,5 @@
 ; ModuleID = 'thinlto-function-summary-callgraph-profile-summary2.ll'
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 
index 818fbf20d6ff698448d3d592f18b2ea6643a652c..413f6cea5178b98e15f05f6b02a567600b252f83 100644 (file)
@@ -1,5 +1,5 @@
 ; ModuleID = 'import_stats2.ll'
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @globalvar = global i32 1, align 4
index ca17d7f377c7e249fa9526b9a566d1a88a0d757e..a3f1f070ff9661e16afb968db2f165f06f97183e 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define weak i32 @foo() {
index 29e8cb538ab66529ad983c0e7761a36fb2830ddf..5e6643f642ef68444627209f8519a4fd0c3d9e68 100644 (file)
@@ -11,7 +11,7 @@
 ; RUN:          -r %t2.bc,lwt_fun,
 ; RUN: llvm-dis -o - %t3.1.3.import.bc | FileCheck %s
 
-target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-pc-windows-msvc19.0.24215"
 
 ; CHECK: $lwt.llvm.[[HASH:[0-9]+]] = comdat any
index e764d78c300c7f6529f91e0b36d84e4b6a5ee8d7..d888ef4ad7b299166ed8a051a665f50518385de6 100644 (file)
@@ -20,7 +20,7 @@
 ; CHECK-NOT: distinct !DISubprogram
 
 ; ModuleID = 'funcimport_debug.o'
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; Function Attrs: nounwind uwtable
index b256a613602d298ad5b3c5081edf6bde0d118840..2a06be4db7a50979b7f84d562d9d2ae9c201f496 100644 (file)
@@ -38,7 +38,7 @@
 ; INSTLIM8: Is importing function {{.*}} f from {{.*}}funcimport_resolved1.ll
 ; INSTLIM8-NOT: Is importing function {{.*}} linkonceodrfunc from {{.*}}funcimport_resolved2.ll
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 define i32 @main() #0 {
index edd874e6297d75a4256727fcdd62930982899722..0ed6442424fd520c785e923b52586ee4e01536e6 100644 (file)
@@ -15,7 +15,7 @@
 
 ; REQUIRES: x86-registered-target
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define i32 @_Z4LinkPKcS0_(i8*, i8*) local_unnamed_addr  {
index 9de8714072debd7bdafd81a3e2abf9b39642fb29..bd90360dcd18791801260a7420c4fcce8fd1a540 100644 (file)
@@ -74,7 +74,7 @@
 
 
 ; ModuleID = 'thinlto-function-summary-callgraph.ll'
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; This function have high profile count, so entry block is hot.
index 2cb415d1e960b9a88f27932c74dc50983dfc35a3..50d2167c6a5aeda266c18084968d4f603880a4c1 100644 (file)
@@ -28,7 +28,7 @@
 ; THINLINKSTATS-DAG: 1 function-import  - Number of hot functions thin link decided to import
 
 ; ModuleID = 'import_stats.ll'
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; This function has a high profile count, so entry block is hot.
index 4412715e04391088871c06affd19c74f3ed5ac1d..0e0dd53950aef70626a2e8d4cb80ca177e40d5ea 100644 (file)
@@ -5,7 +5,7 @@
 
 ; CHECK: Interposable and available_externally/linkonce_odr/weak_odr symbol
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define available_externally i32 @foo() {
index bec04c6a3c8ce1d290bf45148aa0edf2c27f114a..42c645db7cd4d65d480ffbf09e250025d339d641 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 $__llvm_profile_filename = comdat any
index 016172215902a0f9052e6f0027e8de249f05a77e..ed1765f00b3a627e3e8d6e93f3b1b0d16da4ce6f 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @odd = common dso_local global i32 0, align 4
index 8732e54076768e8574a67003ba7cadf64ca999e8..7412120bb52cf506991e9071fb135685de546bf3 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 source_filename = "thinlto_indirect_call_promotion.c"
index 22860f52b5d3beb7c0fc4018d7f1e7b701a24549..709c950ce176c6f040d00404601d7ff3e15e3227 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @fptr = external local_unnamed_addr global void ()*, align 8
index 545b36c1180c2aec2bac10a98835189b7c2eb9e3..fc3cc935c67844bb522b4e7679fed58c92eebb12 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; Function Attrs: norecurse nounwind readnone uwtable
index f8de10c4d0dcae8ffd156bdd2ea9bc4bfbb9481d..67e091c7f114f0ff7b905965b33bb11615377d98 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void @_ZL3barv() #1 {
index 10d633be59f97fd2b032285bba7850b45f3762cb..d040f1fcee9e8f7857abf43761c931f6617f119e 100644 (file)
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @fptr = external local_unnamed_addr global void ()*, align 8
index d2fe65f2fa7fdc471056e7c54d78a83c87e62256..1dcfbbe44ecb2d73b87ba8a3493bfa64d4254ddb 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN: opt < %s -pgo-instr-gen -instrprof -S | llc | FileCheck %s --check-prefix=MACHO-DIRECTIVE
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"
 
 ; MACHO-DIRECTIVE: .weak_definition        ___llvm_profile_raw_version
index bbc7b7229131ff52ae7ac3104ea22ffd40fbfd9d..e3eb992286c05ade5df73f7244a51f20e8a03442 100644 (file)
@@ -18,7 +18,7 @@
 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -pass-remarks=pgo-instrumentation -pgo-emit-branch-prob -S 2>&1| FileCheck %s --check-prefix=ANALYSIS
 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -pass-remarks=pgo-instrumentation -pgo-emit-branch-prob -S 2>&1| FileCheck %s --check-prefix=ANALYSIS
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 ; GEN-DARWIN-LINKONCE: target triple = "x86_64-apple-darwin"
 
index f8df54b94d409174ec14407fdbdd08c1cc2452d6..4582ab7f725e9853d30c7c46ed4cf0e184612275 100644 (file)
@@ -3,7 +3,7 @@
 ; RUN: llvm-profdata merge %S/Inputs/branch2.proftext -o %t.profdata
 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefix=USE
 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefix=USE
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; GEN: $__llvm_profile_raw_version = comdat any
index 74630179105a4e2a13c3b3fe55586b34ea6640fc..e88c61a27e59bbc28dd5e02c3d59d9444628e4b1 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN: opt < %s -pgo-instr-gen -instrprof -S | FileCheck %s
 ; RUN: opt < %s -passes=pgo-instr-gen,instrprof -S | FileCheck %s
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 $foo = comdat any
index 4b2ea6becfec6e0a859671d6cc460ab15d4c17a5..93798b56358c1a7342a0eb5e68597e8535017c2e 100644 (file)
@@ -3,7 +3,7 @@
 ; RUN: llvm-profdata merge %S/Inputs/criticaledge.proftext -o %t.profdata
 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefix=USE
 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefix=USE
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; GEN: $__llvm_profile_raw_version = comdat any
index ad977658f8988a8b5e07f3bc267aa16b6e2f7e6a..b3098336f5efa23b6d94b558b7a6b6ade4201551 100644 (file)
@@ -4,7 +4,7 @@
 ; RUN: opt < %s -O2 -disable-preinline -pgo-kind=pgo-instr-use-pipeline -profile-file=%t.profdata -S | FileCheck %s --check-prefix=PGOSUMMARY
 ; RUN: opt < %s -O2 -disable-preinline -pgo-kind=pgo-instr-use-pipeline -profile-file=%t.profdata -S -cspgo-kind=cspgo-instr-use-pipeline| FileCheck %s --check-prefix=CSPGOSUMMARY
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @odd = common dso_local global i32 0, align 4
index cd33954284f8abd72c17eae901984966cde61a5e..e5f58ff135f5ba24d4a0ff98aac41a2df664cd24 100644 (file)
@@ -4,7 +4,7 @@
 
 ; CHECK: Not an IR level instrumentation profile
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define i32 @foo() {
index e2b7f8cdcc58e8ade2ae3354f36ab9cf46060a18..c1f6c6d59809c742378ee2d1e518458c90f2a576 100644 (file)
@@ -4,7 +4,7 @@
 
 ; CHECK: Function control flow change detected (hash mismatch) foo
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define i32 @foo() {
index 61c1f7ab6d18d6f1aad58ae30ffd75a1f19b6562..88133e2178cca60f95fd7b3f554fe8583a5ed0ef 100644 (file)
@@ -8,7 +8,7 @@
 ; CHECK: No profile data available for function bar
 ; DEFAULT-NOT: No profile data available for function bar
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define i32 @bar() {
index 222d9bd098612cd1a868e9f3d625dc6ef8251920..7a60dc9c16463d15d48f5325bd467ac62c6205f8 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: not opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -S  2>&1
 ; RUN: not opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S  2>&1
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define i32 @foo() {
index 251e5ce7d9f14cae092c676668d296c3de7f1bc5..d5cf2abea1111f304115156f3c5ea48972843ccb 100644 (file)
@@ -3,7 +3,7 @@
 
 ; CHECK: Inconsistent number of value sites for memory intrinsic functions size profiling
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void @foo(i8* %dst, i8* %src, i64 %n) {
index 616e94273756cb2927de264d790fb138dfb19a6f..ca950a621e8e44876623268f32651cfc3db1c062 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: opt < %s -pgo-instr-gen -S | FileCheck %s
 ; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s
 
-target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.12.0"
 
 define i32 @f1() {
index dac996e35cb3da17c479c6e6c9db84c86cd541a0..37fad27f2f2fedae545dcacae14b68bab756ba85 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: llvm-profdata merge %S/Inputs/func_entry.proftext -o %t.profdata
 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @s = common dso_local local_unnamed_addr global i32 0, align 4
index aba075461deb3561faf6d01dd85dffaefd3dd164..c2101a98d0d142a212071ab5ecccff787ff04b12 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN: opt < %s -pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM
 ; RUN: opt < %s -passes=pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 %struct.D = type { %struct.B }
index 0a4444783eb0279a4d77f73ef2b995b56ad4f701..d0f27ac73e782532fc18e65b1c02d189e105d395 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN: opt < %s -pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM
 ; RUN: opt < %s -passes=pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 %struct.D = type { %struct.B }
 %struct.B = type { i32 (...)** }
index 1cacc1bc1aca5214b97379eca5ea238a492f39f5..c30aeb6e7df01cf571a9b9251f47bf0b0f7ad51c 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN: opt < %s -icp-lto -pgo-icall-prom -S | FileCheck %s --check-prefix=ICP
 ; RUN: opt < %s -icp-lto -passes=pgo-icall-prom -S | FileCheck %s --check-prefix=ICP
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @foo1 = global void ()* null, align 8
index 096d2e0f222e8720100f7f9b9a6616e0bac94503..55eb8588168b27ec619a70b08c18add255705db0 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: opt < %s -icp-lto -pgo-icall-prom -S | FileCheck %s --check-prefix=ICP
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @_ZTISt9exception = external constant i8*
index 5484d221a35b26861ee42a8c8a3d2b203f3b6a9c..8a606e3233d818a16caf9cb9e6c1ecfdf41fe016 100644 (file)
@@ -5,7 +5,7 @@
 ; CHECK: remark: <unknown>:0:0: Cannot promote indirect call: target with md5sum{{.*}} not found
 ; CHECK: remark: <unknown>:0:0: Cannot promote indirect call to func2 with count of 7890: Return type mismatch
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @foo = common global i32 ()* null, align 8
index ec243470290ad4ef3698023077ae227892401044..ba803cf85c78e55707dde512a18de6371e96b6b4 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN: opt < %s -pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM
 ; RUN: opt < %s -passes=pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @foo = common global i32 (i32, ...)* null, align 8
index 6f72a998784b5ba52524ce7534c5c416257764a2..7842df37e7351e22f17af0cb42733c57a88fd418 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: llvm-profdata merge %S/Inputs/indirect_call.proftext -o %t.profdata
 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefix=VP-ANNOTATION
 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefix=VP-ANNOTATION
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @foo = common global i32 (i32)* null, align 8
index e1f499c08a7b23f712e65d5d46a8839cb5430480..a3c05e5b47015f0e91f4bd463cf375e55a77faff 100644 (file)
@@ -2,7 +2,7 @@
 ; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s --check-prefix=GEN
 ; RUN: opt < %s -passes=pgo-instr-gen,instrprof -S | FileCheck %s --check-prefix=LOWER
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 $foo3 = comdat any
index 85df5260f19977625df3fc59f80cbd488279a8df..6a9b652119900e1716e59583e506c92241cb17e4 100644 (file)
@@ -15,7 +15,7 @@
 ; PASS2-REMARK-NOT: remark: <unknown>:0:0: Promote indirect call to func3
 ; PASS2-REMARK-NOT: remark: <unknown>:0:0: Promote indirect call to func1
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @foo = common global i32 ()* null, align 8
index 0065031d1477c7313dcd64d923d24fab85cbfc64..6a815275e4cf8d26c71152a97e38077779138fa0 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN: opt < %s -pgo-icall-prom -S | FileCheck %s
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 %struct.A = type { i8 }
index ce7261d39a93c2b2e050c889a5cb1c14f42f64fe..8c961adbf6f955854dd253f064f1879e89c61049 100644 (file)
@@ -4,7 +4,7 @@
 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefix=USE
 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S | opt -S -analyze -branch-prob | FileCheck %s --check-prefix=BRANCHPROB
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @foo.table = internal unnamed_addr constant [3 x i8*] [i8* blockaddress(@foo, %return), i8* blockaddress(@foo, %label2), i8* blockaddress(@foo, %label3)], align 16
index 3a1a3eb57b0d55b67ef086768a49003cda2003aa..932d2299bbf1751f5b26e6e0625992416aea1d35 100644 (file)
@@ -3,7 +3,7 @@
 ; RUN: llvm-profdata merge %S/Inputs/landingpad.proftext -o %t.profdata
 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefix=USE
 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefix=USE
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @val = global i32 0, align 4
index 15088c39663da1ad0a052899a7d4322ca662a6a9..65ab2db72166eeff1b417f70fb92e81083d6a8aa 100644 (file)
@@ -2,7 +2,7 @@
 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -pass-remarks=pgo-instrumentation -pgo-emit-branch-prob -S 2>&1| FileCheck %s --check-prefix=ANALYSIS
 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -pass-remarks=pgo-instrumentation -pgo-emit-branch-prob -S 2>&1| FileCheck %s --check-prefix=ANALYSIS
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define i32 @test(i32 %i) {
index dbc728a49bb042543aec110dcc2598d7139fcfd3..dbc29547b3cfdb09fb711a7df9c4b834294d4f09 100644 (file)
@@ -3,7 +3,7 @@
 ; RUN: llvm-profdata merge %S/Inputs/loop1.proftext -o %t.profdata
 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefix=USE
 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefix=USE
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; GEN: $__llvm_profile_raw_version = comdat any
index 5a86f0299adc4576bb72e5724d1a94b5532d9742..1334dd26156b2503c7af183febde64073e3621e6 100644 (file)
@@ -3,7 +3,7 @@
 ; RUN: llvm-profdata merge %S/Inputs/loop2.proftext -o %t.profdata
 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefix=USE
 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefix=USE
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; GEN: $__llvm_profile_raw_version = comdat any
index 0a6c44b43742c1d2608dfb3740188f0d655dba0b..6047c95e7c0849adf4f9f6f386fb2d323448ee70 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN: opt < %s -pgo-instr-gen -instrprof -S | FileCheck %s
 ; RUN: opt <%s -passes=pgo-instr-gen,instrprof -S | FileCheck %s
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void @foo(i8* %dst, i8* %src, i32* %a, i32 %n) {
index 4310d8ec9debc6cb1b696a2ea650ce21e58fb4b1..a59988462ae6418ecd3405a0ade805da7bec0dd5 100644 (file)
@@ -4,7 +4,7 @@
 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefixes=MEMOP_ANNOTATION,MEMOP_ANNOTATION4
 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefixes=MEMOP_ANNOTATION,MEMOP_ANNOTATION4
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void @foo(i8* %dst, i8* %src, i32* %a, i32 %n) {
index 69cdd81ddf7ffcaacfc71869921a9a81bc528d4a..8d6215cf9252ec96a1a3915c0eaee9c1349b0ff5 100644 (file)
@@ -6,7 +6,7 @@
 ; RUN: FileCheck %s -input-file=%t.opt.yaml --check-prefix=YAML
 
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void @foo(i8* %dst, i8* %src, i8* %dst2, i8* %src2, i32* %a, i32 %n) !prof !27 {
index 43ca710534e904a6b21e737c3e03d99696ccf0c7..e46cadf412e5fbb7d544ff133b95eb175a477853 100644 (file)
@@ -3,7 +3,7 @@
 ; RUN: opt < %s -passes=pgo-memop-opt -verify-dom-info -pgo-memop-count-threshold=1 -S | FileCheck %s --check-prefix=MEMOP_OPT
 ; RUN: opt < %s -pgo-memop-opt -verify-dom-info -pgo-memop-count-threshold=1 -S | FileCheck %s --check-prefix=MEMOP_OPT
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void @foo(i8* %dst, i8* %src, i64 %conv) !prof !0 {
index 6da94826a954781142aaf05bc9426c89ce6f33e5..fdfb16b9e2e55fdf7d9caa69cb277fc92c7f8411 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: llvm-profdata merge %S/Inputs/multiple_hash_profile.proftext -o %t.profdata
 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata  -S | FileCheck %s
 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 $_Z3fooi = comdat any
index c108a82abf014a7f9eb28e37d3b9a60eb75974fb..4470285e1edbf00fa0a4259e07a731e7cfeccd8e 100644 (file)
@@ -3,7 +3,7 @@
 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefix=USE
 ; REQUIRES: asserts
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 declare i32 @bar0(i32)
index 277baf99c33b9ee24757aa5f3f54d648d45b6214..9a42e97d196e1205a5b765c72586853b7f89e0e2 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN: opt < %s -O2 -pgo-kind=pgo-instr-gen-pipeline -S | FileCheck %s --check-prefix=GEN
 ; RUN: opt < %s -O2 -pgo-kind=pgo-instr-gen-pipeline -profile-file=default.profraw -S | FileCheck %s --check-prefix=GEN
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define i32 @foo(i32 %i) {
index 2fdca9e33d18759d820848cc65235a98fc647eac..e84c3c40f83571a2a6ed1fba61a81cba7e010fbf 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: llvm-profdata merge %S/Inputs/remap.proftext -o %t.profdata
 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -pgo-test-profile-remapping-file=%S/Inputs/remap.map -S | FileCheck %s --check-prefix=USE
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define i32 @_ZN3foo3barERKN1M1XINS_6detail3quxEEE(i32 %i) {
index 34e30a23ab0a77b2db58b049bc8f81e3286471ed..47d83c84aa0917b68a16b470e29d76269559cd98 100644 (file)
@@ -5,7 +5,7 @@
 ; RUN: llvm-profdata merge %S/Inputs/select1.proftext -o %t.profdata
 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -pgo-instr-select=true -S | FileCheck %s --check-prefix=USE
 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -pgo-instr-select=true -S | FileCheck %s --check-prefix=USE
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define i32 @test_br_2(i32 %i) {
index b19fa1ff798f4a6a7260804b9a74673ba9dd5160..e95d00b248f44a31a23ef0d65892fbead175a17d 100644 (file)
@@ -2,7 +2,7 @@
 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -pgo-instr-select=true -S | FileCheck %s --check-prefix=USE
 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -pgo-instr-select=true -S | FileCheck %s --check-prefix=USE
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define i32 @foo(i32 %n) {
index e7c3cdb2184b5314173c81f22b6298bed352ac74..ab91db48c0f5defbf92a932e64a0d709cbc3e33f 100644 (file)
@@ -2,7 +2,7 @@
 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -pgo-instr-select=true -S | FileCheck %s
 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -pgo-instr-select=true -S | FileCheck %s
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @a = common dso_local local_unnamed_addr global [16 x i32] zeroinitializer, align 16
index 874d8e4d22d69299078acd7108bfe48cae19f89f..646f798a6ff8946cfefcd17330a31f2ff161419e 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN: opt < %s -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN
 ; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s --check-prefix=GEN
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; GEN: $__llvm_profile_raw_version = comdat any
index c329ddba9300443c02a312382a193236c6443de6..dc15151f350f9cda84d937a30ad2bc3d6d9bc2b8 100644 (file)
@@ -4,7 +4,7 @@
 ; RUN: opt %s -passes=pgo-instr-gen -static-func-strip-dirname-prefix=1000 -S | FileCheck %s --check-prefix=NOPATH
 ; RUN: opt %s --pgo-instr-gen -static-func-strip-dirname-prefix=1 -S | FileCheck %s --check-prefix=HASPATH
 ; RUN: opt %s -passes=pgo-instr-gen -static-func-strip-dirname-prefix=1 -S | FileCheck %s --check-prefix=HASPATH
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; NOPATH: @__profn_statics_counter_naming.ll_func = private constant [30 x i8] c"statics_counter_naming.ll:func"
index e590e217013a8bd582e614b5559e896ed0a30a22..2cefd34d855ca217fb5fde87bbc68151856172b9 100644 (file)
@@ -3,7 +3,7 @@
 ; RUN: llvm-profdata merge %S/Inputs/switch.proftext -o %t.profdata
 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefix=USE
 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefix=USE
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; GEN: $__llvm_profile_raw_version = comdat any
index 1f6264378b84e6def277d666aabb8b2fcadfc549..1a213e8211cced45e53125210484ff18cb829cb1 100644 (file)
@@ -19,7 +19,7 @@
 ; CSGEN: @__profd_
 
 source_filename = "cspgo.c"
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 $__llvm_profile_filename = comdat any
index 6a8b034315de646a131440d536041d847b05e916..1be8de4c0841cce7199a287546c80c29f68d5472 100644 (file)
@@ -18,7 +18,7 @@
 ; CSUSE-DAG: {{![0-9]+}} = !{!"branch_weights", i32 0, i32 100000}
 
 source_filename = "cspgo.c"
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define dso_local void @foo() #0 !prof !29 {
index 6d928eaca7244f96435a5c0620ae9651b966ef77..b4c9c6fc55a21bf7c949856efa3d9f65e92f0c89 100644 (file)
@@ -12,7 +12,7 @@
 ; PASS-REMARK: Promote indirect call to a with count 1 out of 1
 ; PASS-REMARK: Promote indirect call to c.llvm.0 with count 1 out of 1
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @foo = external local_unnamed_addr global void ()*, align 8
index b6b668dbc29a0445a52a471fddd7d41a35e7d242..e89e43f447f3c8a2fa10984203e8a1bb3b3997ee 100644 (file)
@@ -9,7 +9,7 @@
 ; IMPORTS: Import _ZL3foov.llvm.0
 ; RUN: opt %t4.bc -icp-lto -pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @fptr = local_unnamed_addr global void ()* null, align 8
index 7e3afb0775a97e63710f18d8ab7396e4ef0afd1e..1271b7780e49544451be04b6bce346cea2bb53ef 100644 (file)
@@ -24,7 +24,7 @@
 ; RUN: llvm-dis < %t3.3.2.internalize.bc | FileCheck %s --check-prefix=INTERNALIZE
 ; INTERNALIZE: define dso_local void @_ZL3barv
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @fptr = local_unnamed_addr global void ()* null, align 8
index 3044964f33ced77203c3b58dde7bc6295f553645..15fa0398b8be892ac983dbee19380338c782d730 100644 (file)
@@ -10,7 +10,7 @@
 ; Make sure we import the promted indirectly called target
 ; IMPORTS: Import _ZL3foov.llvm.0
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @fptr = local_unnamed_addr global void ()* null, align 8
index fcbc2d6454121cc027c602a023393a42aee935de..df93826a7b7cece9474ec1a3bb01a4802960ffc6 100644 (file)
@@ -12,7 +12,7 @@
 ; RUN:                 -r %t.bc,main,plx -r %t.bc,_ZL3foov,l -compute-dead=false
 ; RUN: llvm-dis < %t2.1.4.opt.bc | FileCheck %s --check-prefix=OPT-NODEAD
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 @fptr = local_unnamed_addr global void ()* null, align 8
index a27fbe7752676044431cf8236eb89db8001315d5..1b7fe4b05697eb909bd14f193ade01aa2ccf26f1 100644 (file)
@@ -2,7 +2,7 @@
 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefix=USE
 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefix=USE
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void @foo() {
index 9ab81ac70a7dccce4b4b664ecd151fe8ccef4160..f9759b590857c85b35609605a18fe43d9cd88492 100644 (file)
@@ -15,7 +15,7 @@
 ; is accepted).
 ; RUN: llvm-lto2 run %t1.bc -o %t.o -use-new-pm -r %t1.bc,patatino,px
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void @patatino() {
index c73c5021f626d0fda32b5d49db2c56ee6e89fd47..948c5220220405a4c88bca8e954b71b69cedbe98 100644 (file)
@@ -6,7 +6,7 @@
 ; RUN: llvm-lto2 run %t1.bc -o %t.o -r %t1.bc,patatino,px -stats-file=%t2.stats
 ; RUN: FileCheck --input-file=%t2.stats %s
 
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 define void @patatino() {