From 5bbee042cc87069f70fb1b09af7744ca0861553b Mon Sep 17 00:00:00 2001 From: Vlad Tsyrklevich Date: Wed, 28 Aug 2019 01:08:54 +0000 Subject: [PATCH] Revert "Change the X86 datalayout to add three address spaces for 32 bit signed," This reverts commit r370083 because it caused check-lld failures on sanitizer-x86_64-linux-fast. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370142 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86TargetMachine.cpp | 3 --- test/LTO/Resolution/X86/Inputs/alias-1.ll | 2 +- test/LTO/Resolution/X86/Inputs/alias-alias-1.ll | 2 +- test/LTO/Resolution/X86/Inputs/appending-var-2.ll | 2 +- test/LTO/Resolution/X86/Inputs/comdat-mixed-lto.ll | 2 +- test/LTO/Resolution/X86/Inputs/comdat.ll | 2 +- test/LTO/Resolution/X86/Inputs/common2.ll | 2 +- test/LTO/Resolution/X86/Inputs/commons.ll | 2 +- test/LTO/Resolution/X86/Inputs/dead-strip-alias.ll | 2 +- test/LTO/Resolution/X86/Inputs/dead-strip-fulllto.ll | 2 +- test/LTO/Resolution/X86/Inputs/intrinsic.ll | 2 +- test/LTO/Resolution/X86/Inputs/link-odr-availextern-ae.ll | 2 +- test/LTO/Resolution/X86/Inputs/link-odr-availextern-odr.ll | 2 +- test/LTO/Resolution/X86/Inputs/mixed_lto.ll | 2 +- test/LTO/Resolution/X86/Inputs/mod-asm-used.ll | 2 +- test/LTO/Resolution/X86/Inputs/not-prevailing.ll | 2 +- test/LTO/Resolution/X86/alias-alias.ll | 2 +- test/LTO/Resolution/X86/alias.ll | 2 +- test/LTO/Resolution/X86/appending-var.ll | 2 +- test/LTO/Resolution/X86/asm-output.ll | 2 +- test/LTO/Resolution/X86/available-externally.ll | 2 +- test/LTO/Resolution/X86/cache-dso-local.ll | 2 +- test/LTO/Resolution/X86/cache-dso-local2.ll | 2 +- test/LTO/Resolution/X86/cache-prevailing.ll | 2 +- test/LTO/Resolution/X86/comdat-mixed-lto.ll | 2 +- test/LTO/Resolution/X86/comdat.ll | 2 +- test/LTO/Resolution/X86/common2.ll | 2 +- test/LTO/Resolution/X86/commons.ll | 2 +- test/LTO/Resolution/X86/dead-strip-alias.ll | 2 +- test/LTO/Resolution/X86/dead-strip-fulllto.ll | 2 +- .../Resolution/X86/diagnostic-handler-remarks-with-hotness.ll | 2 +- test/LTO/Resolution/X86/diagnostic-handler-remarks.ll | 2 +- test/LTO/Resolution/X86/export-jumptable.ll | 2 +- test/LTO/Resolution/X86/function-alias-non-prevailing.ll | 2 +- test/LTO/Resolution/X86/ifunc.ll | 2 +- test/LTO/Resolution/X86/intrinsic.ll | 2 +- test/LTO/Resolution/X86/link-odr-availextern.ll | 2 +- test/LTO/Resolution/X86/linker-redef-thin.ll | 2 +- test/LTO/Resolution/X86/linker-redef.ll | 2 +- test/LTO/Resolution/X86/linkonce.ll | 2 +- test/LTO/Resolution/X86/load-sample-prof-icp.ll | 2 +- test/LTO/Resolution/X86/load-sample-prof-lto.ll | 2 +- test/LTO/Resolution/X86/load-sample-prof.ll | 2 +- test/LTO/Resolution/X86/local-def-dllimport.ll | 2 +- test/LTO/Resolution/X86/lowertypetests.ll | 2 +- test/LTO/Resolution/X86/lto-unit-check.ll | 2 +- test/LTO/Resolution/X86/mixed_lto.ll | 2 +- test/LTO/Resolution/X86/mod-asm-used.ll | 2 +- test/LTO/Resolution/X86/multi-thinlto.ll | 2 +- test/LTO/Resolution/X86/not-prevailing-alias.ll | 2 +- test/LTO/Resolution/X86/not-prevailing-variables.ll | 2 +- test/LTO/Resolution/X86/not-prevailing.ll | 2 +- test/LTO/Resolution/X86/setting-dso-local.ll | 2 +- test/LTO/Resolution/X86/symtab-elf.ll | 2 +- test/LTO/Resolution/X86/type-checked-load.ll | 2 +- test/LTO/X86/Inputs/codemodel-3.ll | 2 +- test/LTO/X86/Inputs/dllimport.ll | 2 +- test/LTO/X86/Inputs/remangle_intrinsics_tbaa.ll | 2 +- test/LTO/X86/Inputs/strip-debug-info-bar.ll | 2 +- test/LTO/X86/Inputs/type-mapping-bug2.ll | 2 +- test/LTO/X86/codemodel-1.ll | 2 +- test/LTO/X86/codemodel-2.ll | 2 +- test/LTO/X86/codemodel-3.ll | 2 +- test/LTO/X86/current-section.ll | 2 +- test/LTO/X86/diagnostic-handler-remarks-with-hotness.ll | 2 +- test/LTO/X86/diagnostic-handler-remarks.ll | 2 +- test/LTO/X86/disable-verify.ll | 2 +- test/LTO/X86/dllimport.ll | 2 +- test/LTO/X86/internalize.ll | 2 +- test/LTO/X86/no-undefined-puts-when-implemented.ll | 2 +- test/LTO/X86/objc-detection.ll | 2 +- test/LTO/X86/pr38046.ll | 2 +- test/LTO/X86/private-symbol.ll | 2 +- test/LTO/X86/remangle_intrinsics_tbaa.ll | 2 +- test/LTO/X86/set-merged.ll | 2 +- test/LTO/X86/strip-debug-info-no-call-loc.ll | 2 +- test/LTO/X86/strip-debug-info.ll | 2 +- test/LTO/X86/symver-asm.ll | 2 +- test/LTO/X86/symver-asm2.ll | 2 +- test/LTO/X86/symver-asm3.ll | 2 +- test/LTO/X86/tailcallelim.ll | 2 +- test/LTO/X86/triple-init.ll | 2 +- test/LTO/X86/triple-init2.ll | 2 +- test/LTO/X86/type-mapping-bug2.ll | 2 +- test/ThinLTO/X86/Inputs/alias_internal.ll | 2 +- test/ThinLTO/X86/Inputs/cache-icall.ll | 2 +- test/ThinLTO/X86/Inputs/cache-import-lists1.ll | 2 +- test/ThinLTO/X86/Inputs/cache-import-lists2.ll | 2 +- test/ThinLTO/X86/Inputs/cache-typeid-resolutions-import.ll | 2 +- test/ThinLTO/X86/Inputs/cache-typeid-resolutions1.ll | 2 +- test/ThinLTO/X86/Inputs/cache-typeid-resolutions2.ll | 2 +- test/ThinLTO/X86/Inputs/cache-typeid-resolutions3.ll | 2 +- test/ThinLTO/X86/Inputs/cache.ll | 2 +- test/ThinLTO/X86/Inputs/callees-metadata.ll | 2 +- test/ThinLTO/X86/Inputs/cfi-distributed.ll | 2 +- test/ThinLTO/X86/Inputs/cfi-icall-only-bazqux.ll | 2 +- test/ThinLTO/X86/Inputs/crash_debuginfo.ll | 2 +- test/ThinLTO/X86/Inputs/deadstrip.ll | 2 +- test/ThinLTO/X86/Inputs/debuginfo-compositetype-import.ll | 2 +- test/ThinLTO/X86/Inputs/debuginfo-cu-import.ll | 2 +- test/ThinLTO/X86/Inputs/devirt2.ll | 2 +- test/ThinLTO/X86/Inputs/diagnostic-handler-remarks.ll | 2 +- test/ThinLTO/X86/Inputs/dicompositetype-unique-alias.ll | 2 +- test/ThinLTO/X86/Inputs/dicompositetype-unique.ll | 2 +- test/ThinLTO/X86/Inputs/dicompositetype-unique2.ll | 2 +- test/ThinLTO/X86/Inputs/dot-dumper.ll | 2 +- test/ThinLTO/X86/Inputs/dot-dumper2.ll | 2 +- test/ThinLTO/X86/Inputs/drop-debug-info.ll | 2 +- test/ThinLTO/X86/Inputs/dsolocal_dllimport.ll | 2 +- test/ThinLTO/X86/Inputs/emit_imports.ll | 2 +- test/ThinLTO/X86/Inputs/emit_imports2.ll | 2 +- test/ThinLTO/X86/Inputs/empty.ll | 2 +- test/ThinLTO/X86/Inputs/empty_module_with_cache.ll | 2 +- test/ThinLTO/X86/Inputs/export.ll | 2 +- test/ThinLTO/X86/Inputs/funcimport-debug.ll | 2 +- test/ThinLTO/X86/Inputs/funcimport-tbaa.ll | 2 +- test/ThinLTO/X86/Inputs/funcimport.ll | 2 +- test/ThinLTO/X86/Inputs/funcimport2.ll | 2 +- test/ThinLTO/X86/Inputs/function_entry_count.ll | 2 +- test/ThinLTO/X86/Inputs/globals-import-blockaddr.ll | 2 +- test/ThinLTO/X86/Inputs/globals-import-cf-baz.ll | 2 +- test/ThinLTO/X86/Inputs/globals-import.ll | 2 +- test/ThinLTO/X86/Inputs/import_opaque_type.ll | 2 +- test/ThinLTO/X86/Inputs/index-const-prop-alias.ll | 2 +- test/ThinLTO/X86/Inputs/index-const-prop-cache-foo.ll | 2 +- test/ThinLTO/X86/Inputs/index-const-prop-cache-test1.ll | 2 +- test/ThinLTO/X86/Inputs/index-const-prop-cache-test2.ll | 2 +- test/ThinLTO/X86/Inputs/index-const-prop-comdat.ll | 2 +- test/ThinLTO/X86/Inputs/index-const-prop-define-g.ll | 2 +- test/ThinLTO/X86/Inputs/index-const-prop-full-lto.ll | 2 +- test/ThinLTO/X86/Inputs/index-const-prop-gvref.ll | 2 +- test/ThinLTO/X86/Inputs/index-const-prop-linkage.ll | 2 +- test/ThinLTO/X86/Inputs/index-const-prop.ll | 2 +- test/ThinLTO/X86/Inputs/lazyload_metadata.ll | 2 +- test/ThinLTO/X86/Inputs/linkonce_aliasee_ref_import.ll | 2 +- test/ThinLTO/X86/Inputs/linkonce_odr_unnamed_addr.ll | 2 +- test/ThinLTO/X86/Inputs/linkonce_resolution_comdat.ll | 2 +- test/ThinLTO/X86/Inputs/llvm.used.ll | 2 +- test/ThinLTO/X86/Inputs/local_name_conflict1.ll | 2 +- test/ThinLTO/X86/Inputs/local_name_conflict2.ll | 2 +- test/ThinLTO/X86/Inputs/local_name_conflict_var1.ll | 2 +- test/ThinLTO/X86/Inputs/local_name_conflict_var2.ll | 2 +- test/ThinLTO/X86/Inputs/merge-triple.ll | 2 +- test/ThinLTO/X86/Inputs/module_asm.ll | 2 +- test/ThinLTO/X86/Inputs/module_asm2.ll | 2 +- test/ThinLTO/X86/Inputs/noinline.ll | 2 +- test/ThinLTO/X86/Inputs/personality-local.ll | 2 +- test/ThinLTO/X86/Inputs/personality.ll | 2 +- test/ThinLTO/X86/Inputs/pr35472.ll | 2 +- test/ThinLTO/X86/Inputs/reference_non_importable.ll | 2 +- test/ThinLTO/X86/Inputs/referenced_by_constant.ll | 2 +- test/ThinLTO/X86/Inputs/strong_non_prevailing.ll | 2 +- test/ThinLTO/X86/Inputs/thinlto-internalize-used2.ll | 2 +- test/ThinLTO/X86/Inputs/weak_resolution.ll | 2 +- test/ThinLTO/X86/alias_internal.ll | 2 +- test/ThinLTO/X86/autoupgrade.ll | 2 +- test/ThinLTO/X86/builtin-nostrip.ll | 2 +- test/ThinLTO/X86/cache-config.ll | 2 +- test/ThinLTO/X86/cache-icall.ll | 2 +- test/ThinLTO/X86/cache-import-lists.ll | 2 +- test/ThinLTO/X86/cache-typeid-resolutions.ll | 2 +- test/ThinLTO/X86/cache.ll | 2 +- test/ThinLTO/X86/callees-metadata.ll | 2 +- test/ThinLTO/X86/cfi-devirt.ll | 2 +- test/ThinLTO/X86/cfi-distributed.ll | 2 +- test/ThinLTO/X86/cfi-icall-only-defuse.ll | 2 +- test/ThinLTO/X86/cfi-icall.ll | 2 +- test/ThinLTO/X86/cfi.ll | 2 +- test/ThinLTO/X86/crash_debuginfo.ll | 2 +- test/ThinLTO/X86/deadstrip.ll | 2 +- test/ThinLTO/X86/debuginfo-compositetype-import.ll | 2 +- test/ThinLTO/X86/debuginfo-cu-import.ll | 2 +- test/ThinLTO/X86/devirt-after-icp.ll | 2 +- test/ThinLTO/X86/devirt.ll | 2 +- test/ThinLTO/X86/devirt2.ll | 2 +- test/ThinLTO/X86/diagnostic-handler-remarks-with-hotness.ll | 2 +- test/ThinLTO/X86/diagnostic-handler-remarks.ll | 2 +- test/ThinLTO/X86/dicompositetype-unique-alias.ll | 2 +- test/ThinLTO/X86/dicompositetype-unique.ll | 2 +- test/ThinLTO/X86/dicompositetype-unique2.ll | 2 +- test/ThinLTO/X86/distributed_import.ll | 2 +- test/ThinLTO/X86/dot-dumper-full-lto.ll | 2 +- test/ThinLTO/X86/dot-dumper.ll | 2 +- test/ThinLTO/X86/dot-dumper2.ll | 2 +- test/ThinLTO/X86/drop-debug-info.ll | 2 +- test/ThinLTO/X86/dsolocal_dllimport.ll | 2 +- test/ThinLTO/X86/emit_imports.ll | 2 +- test/ThinLTO/X86/empty-module.ll | 2 +- test/ThinLTO/X86/empty_module_with_cache.ll | 2 +- test/ThinLTO/X86/export.ll | 2 +- test/ThinLTO/X86/funcimport-debug.ll | 2 +- test/ThinLTO/X86/funcimport-tbaa.ll | 2 +- test/ThinLTO/X86/funcimport.ll | 2 +- test/ThinLTO/X86/funcimport2.ll | 2 +- test/ThinLTO/X86/function_entry_count.ll | 2 +- test/ThinLTO/X86/globals-import-blockaddr.ll | 2 +- test/ThinLTO/X86/globals-import-const-fold.ll | 2 +- test/ThinLTO/X86/globals-import.ll | 2 +- test/ThinLTO/X86/import_opaque_type.ll | 2 +- test/ThinLTO/X86/index-const-prop-O0.ll | 2 +- test/ThinLTO/X86/index-const-prop-alias.ll | 2 +- test/ThinLTO/X86/index-const-prop-cache.ll | 2 +- test/ThinLTO/X86/index-const-prop-comdat.ll | 2 +- test/ThinLTO/X86/index-const-prop-dead.ll | 2 +- test/ThinLTO/X86/index-const-prop-full-lto.ll | 2 +- test/ThinLTO/X86/index-const-prop-gvref.ll | 2 +- test/ThinLTO/X86/index-const-prop-ldst.ll | 2 +- test/ThinLTO/X86/index-const-prop-linkage.ll | 2 +- test/ThinLTO/X86/index-const-prop.ll | 2 +- test/ThinLTO/X86/index-const-prop2.ll | 2 +- test/ThinLTO/X86/internalize.ll | 2 +- test/ThinLTO/X86/lazyload_metadata.ll | 2 +- test/ThinLTO/X86/linkonce_aliasee_ref_import.ll | 2 +- test/ThinLTO/X86/linkonce_odr_unnamed_addr.ll | 2 +- test/ThinLTO/X86/linkonce_resolution_comdat.ll | 2 +- test/ThinLTO/X86/llvm.used.ll | 2 +- test/ThinLTO/X86/load-store-caching.ll | 2 +- test/ThinLTO/X86/local_name_conflict.ll | 2 +- test/ThinLTO/X86/local_name_conflict_var.ll | 2 +- test/ThinLTO/X86/merge-triple.ll | 2 +- test/ThinLTO/X86/module_asm2.ll | 2 +- test/ThinLTO/X86/module_asm_glob.ll | 2 +- test/ThinLTO/X86/module_summary_graph_traits.ll | 2 +- test/ThinLTO/X86/newpm-basic.ll | 2 +- test/ThinLTO/X86/nodevirt-nonpromoted-typeid.ll | 2 +- test/ThinLTO/X86/noinline.ll | 2 +- test/ThinLTO/X86/personality-local.ll | 2 +- test/ThinLTO/X86/personality.ll | 2 +- test/ThinLTO/X86/pr35472.ll | 2 +- test/ThinLTO/X86/reference_non_importable.ll | 2 +- test/ThinLTO/X86/referenced_by_constant.ll | 2 +- test/ThinLTO/X86/save_objects.ll | 2 +- test/ThinLTO/X86/strong_non_prevailing.ll | 2 +- test/ThinLTO/X86/thinlto-internalize-used.ll | 2 +- test/ThinLTO/X86/tli-nobuiltin.ll | 2 +- test/ThinLTO/X86/weak_externals.ll | 2 +- test/ThinLTO/X86/weak_resolution.ll | 2 +- test/ThinLTO/X86/writeonly.ll | 2 +- test/ThinLTO/X86/writeonly2.ll | 2 +- test/Transforms/FunctionImport/Inputs/comdat.ll | 2 +- test/Transforms/FunctionImport/Inputs/funcimport_debug.ll | 2 +- test/Transforms/FunctionImport/Inputs/funcimport_resolved1.ll | 2 +- test/Transforms/FunctionImport/Inputs/funcimport_resolved2.ll | 2 +- test/Transforms/FunctionImport/Inputs/funcimport_var2.ll | 2 +- test/Transforms/FunctionImport/Inputs/hotness_based_import.ll | 2 +- test/Transforms/FunctionImport/Inputs/import_stats.ll | 2 +- test/Transforms/FunctionImport/Inputs/not-prevailing.ll | 2 +- test/Transforms/FunctionImport/comdat.ll | 2 +- test/Transforms/FunctionImport/funcimport_debug.ll | 2 +- test/Transforms/FunctionImport/funcimport_resolved.ll | 2 +- test/Transforms/FunctionImport/funcimport_var.ll | 2 +- test/Transforms/FunctionImport/hotness_based_import.ll | 2 +- test/Transforms/FunctionImport/import_stats.ll | 2 +- test/Transforms/FunctionImport/not-prevailing.ll | 2 +- test/Transforms/PGOProfile/Inputs/thinlto_cspgo_bar_gen.ll | 2 +- test/Transforms/PGOProfile/Inputs/thinlto_cspgo_bar_use.ll | 2 +- .../PGOProfile/Inputs/thinlto_indirect_call_promotion.ll | 2 +- test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp.ll | 2 +- test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp2a.ll | 2 +- test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp2b.ll | 2 +- test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp3.ll | 2 +- test/Transforms/PGOProfile/X86/macho.ll | 2 +- test/Transforms/PGOProfile/branch1.ll | 2 +- test/Transforms/PGOProfile/branch2.ll | 2 +- test/Transforms/PGOProfile/comdat_internal.ll | 2 +- test/Transforms/PGOProfile/criticaledge.ll | 2 +- test/Transforms/PGOProfile/cspgo_profile_summary.ll | 2 +- test/Transforms/PGOProfile/diag_FE_profile.ll | 2 +- test/Transforms/PGOProfile/diag_mismatch.ll | 2 +- test/Transforms/PGOProfile/diag_no_funcprofdata.ll | 2 +- test/Transforms/PGOProfile/diag_no_profile.ll | 2 +- test/Transforms/PGOProfile/diag_no_value_sites.ll | 2 +- test/Transforms/PGOProfile/do-not-instrument.ll | 2 +- test/Transforms/PGOProfile/func_entry.ll | 2 +- test/Transforms/PGOProfile/icp_covariant_call_return.ll | 2 +- test/Transforms/PGOProfile/icp_covariant_invoke_return.ll | 2 +- test/Transforms/PGOProfile/icp_invoke.ll | 2 +- test/Transforms/PGOProfile/icp_invoke_nouse.ll | 2 +- test/Transforms/PGOProfile/icp_mismatch_msg.ll | 2 +- test/Transforms/PGOProfile/icp_vararg.ll | 2 +- test/Transforms/PGOProfile/indirect_call_annotation.ll | 2 +- test/Transforms/PGOProfile/indirect_call_profile.ll | 2 +- test/Transforms/PGOProfile/indirect_call_promotion.ll | 2 +- test/Transforms/PGOProfile/indirect_call_promotion_vla.ll | 2 +- test/Transforms/PGOProfile/indirectbr.ll | 2 +- test/Transforms/PGOProfile/landingpad.ll | 2 +- test/Transforms/PGOProfile/large_count_remarks.ll | 2 +- test/Transforms/PGOProfile/loop1.ll | 2 +- test/Transforms/PGOProfile/loop2.ll | 2 +- test/Transforms/PGOProfile/memcpy.ll | 2 +- test/Transforms/PGOProfile/memop_size_annotation.ll | 2 +- test/Transforms/PGOProfile/memop_size_opt.ll | 2 +- test/Transforms/PGOProfile/memop_size_opt_zero.ll | 2 +- test/Transforms/PGOProfile/multiple_hash_profile.ll | 2 +- test/Transforms/PGOProfile/noreturncall.ll | 2 +- test/Transforms/PGOProfile/preinline.ll | 2 +- test/Transforms/PGOProfile/remap.ll | 2 +- test/Transforms/PGOProfile/select1.ll | 2 +- test/Transforms/PGOProfile/select2.ll | 2 +- test/Transforms/PGOProfile/select_hash_conflict.ll | 2 +- test/Transforms/PGOProfile/single_bb.ll | 2 +- test/Transforms/PGOProfile/statics_counter_naming.ll | 2 +- test/Transforms/PGOProfile/switch.ll | 2 +- test/Transforms/PGOProfile/thinlto_cspgo_gen.ll | 2 +- test/Transforms/PGOProfile/thinlto_cspgo_use.ll | 2 +- test/Transforms/PGOProfile/thinlto_indirect_call_promotion.ll | 2 +- test/Transforms/PGOProfile/thinlto_samplepgo_icp.ll | 2 +- test/Transforms/PGOProfile/thinlto_samplepgo_icp2.ll | 2 +- test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll | 2 +- .../Transforms/PGOProfile/thinlto_samplepgo_icp_droppeddead.ll | 2 +- test/Transforms/PGOProfile/unreachable_bb.ll | 2 +- test/tools/llvm-lto2/X86/pipeline.ll | 2 +- test/tools/llvm-lto2/X86/stats-file-option.ll | 2 +- 313 files changed, 312 insertions(+), 315 deletions(-) diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp index 9c1ba17510e..d33a7a0b963 100644 --- a/lib/Target/X86/X86TargetMachine.cpp +++ b/lib/Target/X86/X86TargetMachine.cpp @@ -117,9 +117,6 @@ 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. - 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"; diff --git a/test/LTO/Resolution/X86/Inputs/alias-1.ll b/test/LTO/Resolution/X86/Inputs/alias-1.ll index bc54680fa19..01c9987fd3f 100644 --- a/test/LTO/Resolution/X86/Inputs/alias-1.ll +++ b/test/LTO/Resolution/X86/Inputs/alias-1.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @a = global i32 42 diff --git a/test/LTO/Resolution/X86/Inputs/alias-alias-1.ll b/test/LTO/Resolution/X86/Inputs/alias-alias-1.ll index 4ee753e403f..956deabcfc8 100644 --- a/test/LTO/Resolution/X86/Inputs/alias-alias-1.ll +++ b/test/LTO/Resolution/X86/Inputs/alias-alias-1.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @a = external global i32 diff --git a/test/LTO/Resolution/X86/Inputs/appending-var-2.ll b/test/LTO/Resolution/X86/Inputs/appending-var-2.ll index 1cd01d789d3..29bc8433d3e 100644 --- a/test/LTO/Resolution/X86/Inputs/appending-var-2.ll +++ b/test/LTO/Resolution/X86/Inputs/appending-var-2.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %"foo" = type { i8 } diff --git a/test/LTO/Resolution/X86/Inputs/comdat-mixed-lto.ll b/test/LTO/Resolution/X86/Inputs/comdat-mixed-lto.ll index b2f901cb0a1..0112b89f98d 100644 --- a/test/LTO/Resolution/X86/Inputs/comdat-mixed-lto.ll +++ b/test/LTO/Resolution/X86/Inputs/comdat-mixed-lto.ll @@ -1,6 +1,6 @@ ; ModuleID = 'comdat-mixed-lto1.o' source_filename = "comdat-mixed-lto1.cpp" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %"class.Test::ptr" = type { i32 } diff --git a/test/LTO/Resolution/X86/Inputs/comdat.ll b/test/LTO/Resolution/X86/Inputs/comdat.ll index 52cadf39a31..ca4bbb4bf81 100644 --- a/test/LTO/Resolution/X86/Inputs/comdat.ll +++ b/test/LTO/Resolution/X86/Inputs/comdat.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" $c2 = comdat any diff --git a/test/LTO/Resolution/X86/Inputs/common2.ll b/test/LTO/Resolution/X86/Inputs/common2.ll index 3a4c631ad65..c3a7f753684 100644 --- a/test/LTO/Resolution/X86/Inputs/common2.ll +++ b/test/LTO/Resolution/X86/Inputs/common2.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @v = common global i16 0, align 4 diff --git a/test/LTO/Resolution/X86/Inputs/commons.ll b/test/LTO/Resolution/X86/Inputs/commons.ll index 9ff7de26ab9..9372600d03d 100644 --- a/test/LTO/Resolution/X86/Inputs/commons.ll +++ b/test/LTO/Resolution/X86/Inputs/commons.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @x = global i32 42, align 4 diff --git a/test/LTO/Resolution/X86/Inputs/dead-strip-alias.ll b/test/LTO/Resolution/X86/Inputs/dead-strip-alias.ll index b32d5b0f236..16154d2c45b 100644 --- a/test/LTO/Resolution/X86/Inputs/dead-strip-alias.ll +++ b/test/LTO/Resolution/X86/Inputs/dead-strip-alias.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @external = global i8 42 diff --git a/test/LTO/Resolution/X86/Inputs/dead-strip-fulllto.ll b/test/LTO/Resolution/X86/Inputs/dead-strip-fulllto.ll index cfe1544a6b9..cc508924c67 100644 --- a/test/LTO/Resolution/X86/Inputs/dead-strip-fulllto.ll +++ b/test/LTO/Resolution/X86/Inputs/dead-strip-fulllto.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define void @live1() { diff --git a/test/LTO/Resolution/X86/Inputs/intrinsic.ll b/test/LTO/Resolution/X86/Inputs/intrinsic.ll index 82a7c2e3145..52ee296b18b 100644 --- a/test/LTO/Resolution/X86/Inputs/intrinsic.ll +++ b/test/LTO/Resolution/X86/Inputs/intrinsic.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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*>) diff --git a/test/LTO/Resolution/X86/Inputs/link-odr-availextern-ae.ll b/test/LTO/Resolution/X86/Inputs/link-odr-availextern-ae.ll index 1b8064a8d03..f2d180afc82 100644 --- a/test/LTO/Resolution/X86/Inputs/link-odr-availextern-ae.ll +++ b/test/LTO/Resolution/X86/Inputs/link-odr-availextern-ae.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define available_externally i32 @f() { diff --git a/test/LTO/Resolution/X86/Inputs/link-odr-availextern-odr.ll b/test/LTO/Resolution/X86/Inputs/link-odr-availextern-odr.ll index 312b3ad1e0c..76e745a444f 100644 --- a/test/LTO/Resolution/X86/Inputs/link-odr-availextern-odr.ll +++ b/test/LTO/Resolution/X86/Inputs/link-odr-availextern-odr.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define linkonce_odr i32 @f() { diff --git a/test/LTO/Resolution/X86/Inputs/mixed_lto.ll b/test/LTO/Resolution/X86/Inputs/mixed_lto.ll index ec561362ade..2393deb3241 100644 --- a/test/LTO/Resolution/X86/Inputs/mixed_lto.ll +++ b/test/LTO/Resolution/X86/Inputs/mixed_lto.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" declare i32 @g() define i32 @main() { diff --git a/test/LTO/Resolution/X86/Inputs/mod-asm-used.ll b/test/LTO/Resolution/X86/Inputs/mod-asm-used.ll index c3b08ed605b..3b1988bb54d 100644 --- a/test/LTO/Resolution/X86/Inputs/mod-asm-used.ll +++ b/test/LTO/Resolution/X86/Inputs/mod-asm-used.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @foo = global i32 1, align 4 diff --git a/test/LTO/Resolution/X86/Inputs/not-prevailing.ll b/test/LTO/Resolution/X86/Inputs/not-prevailing.ll index 7986919be34..68b3c836280 100644 --- a/test/LTO/Resolution/X86/Inputs/not-prevailing.ll +++ b/test/LTO/Resolution/X86/Inputs/not-prevailing.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define void @bar() { diff --git a/test/LTO/Resolution/X86/alias-alias.ll b/test/LTO/Resolution/X86/alias-alias.ll index a8489112ae9..eaf2615b0a0 100644 --- a/test/LTO/Resolution/X86/alias-alias.ll +++ b/test/LTO/Resolution/X86/alias-alias.ll @@ -19,7 +19,7 @@ ; RES-NEXT: {{^}}-r={{.*}}2.o,a,{{$}} ; RES-NEXT: {{^}}-r={{.*}}2.o,d,px{{$}} -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @a = weak alias i32, i32* @b diff --git a/test/LTO/Resolution/X86/alias.ll b/test/LTO/Resolution/X86/alias.ll index f565e4d234c..886eadcfc82 100644 --- a/test/LTO/Resolution/X86/alias.ll +++ b/test/LTO/Resolution/X86/alias.ll @@ -15,7 +15,7 @@ ; RES: {{^}}-r={{.*}}1.o,b,px{{$}} ; RES: {{^}}-r={{.*}}1.o,a,{{$}} -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @a = weak alias i32, i32* @b diff --git a/test/LTO/Resolution/X86/appending-var.ll b/test/LTO/Resolution/X86/appending-var.ll index 684e64129d6..4d259d7f8db 100644 --- a/test/LTO/Resolution/X86/appending-var.ll +++ b/test/LTO/Resolution/X86/appending-var.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %"foo.1" = type { i8, i8 } diff --git a/test/LTO/Resolution/X86/asm-output.ll b/test/LTO/Resolution/X86/asm-output.ll index 7f15cecc8d0..41d293501dd 100644 --- a/test/LTO/Resolution/X86/asm-output.ll +++ b/test/LTO/Resolution/X86/asm-output.ll @@ -9,7 +9,7 @@ ; ; ASM: main: -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define i32 @main() { diff --git a/test/LTO/Resolution/X86/available-externally.ll b/test/LTO/Resolution/X86/available-externally.ll index ac35b15b371..eb17693c0a9 100644 --- a/test/LTO/Resolution/X86/available-externally.ll +++ b/test/LTO/Resolution/X86/available-externally.ll @@ -4,7 +4,7 @@ ; CHECK: U bar -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define void ()* @foo() { diff --git a/test/LTO/Resolution/X86/cache-dso-local.ll b/test/LTO/Resolution/X86/cache-dso-local.ll index 6ed8e056b2c..5e5b94cc94b 100644 --- a/test/LTO/Resolution/X86/cache-dso-local.ll +++ b/test/LTO/Resolution/X86/cache-dso-local.ll @@ -10,7 +10,7 @@ ; RUN: -r %t.bc,bar,px ; RUN: ls %t.cache | count 2 -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define weak void @foo() { diff --git a/test/LTO/Resolution/X86/cache-dso-local2.ll b/test/LTO/Resolution/X86/cache-dso-local2.ll index 2316cbfdc5d..3a6c15e52aa 100644 --- a/test/LTO/Resolution/X86/cache-dso-local2.ll +++ b/test/LTO/Resolution/X86/cache-dso-local2.ll @@ -10,7 +10,7 @@ ; RUN: -r %t.bc,bar,px ; RUN: ls %t.cache | count 2 -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define weak void @foo() { diff --git a/test/LTO/Resolution/X86/cache-prevailing.ll b/test/LTO/Resolution/X86/cache-prevailing.ll index 72a1d4e6f53..57687492e1d 100644 --- a/test/LTO/Resolution/X86/cache-prevailing.ll +++ b/test/LTO/Resolution/X86/cache-prevailing.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-windows-msvc19.11.0" @foo = linkonce constant i32 1, comdat diff --git a/test/LTO/Resolution/X86/comdat-mixed-lto.ll b/test/LTO/Resolution/X86/comdat-mixed-lto.ll index d3730f4e9bc..d6022c64351 100644 --- a/test/LTO/Resolution/X86/comdat-mixed-lto.ll +++ b/test/LTO/Resolution/X86/comdat-mixed-lto.ll @@ -21,7 +21,7 @@ ; ModuleID = 'comdat-mixed-lto.o' source_filename = "comdat-mixed-lto.cpp" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %"class.Test::ptr" = type { i32 } diff --git a/test/LTO/Resolution/X86/comdat.ll b/test/LTO/Resolution/X86/comdat.ll index 06b61b7edf8..3a0c673c6a2 100644 --- a/test/LTO/Resolution/X86/comdat.ll +++ b/test/LTO/Resolution/X86/comdat.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" $c1 = comdat any diff --git a/test/LTO/Resolution/X86/common2.ll b/test/LTO/Resolution/X86/common2.ll index c0447b75b82..de702d05700 100644 --- a/test/LTO/Resolution/X86/common2.ll +++ b/test/LTO/Resolution/X86/common2.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @v = common global i8 0, align 8 diff --git a/test/LTO/Resolution/X86/commons.ll b/test/LTO/Resolution/X86/commons.ll index 1ccb5ed57de..8adfb87d6ed 100644 --- a/test/LTO/Resolution/X86/commons.ll +++ b/test/LTO/Resolution/X86/commons.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @x = common global i16 0, align 2 diff --git a/test/LTO/Resolution/X86/dead-strip-alias.ll b/test/LTO/Resolution/X86/dead-strip-alias.ll index d62621acc8e..fc5554c34a8 100644 --- a/test/LTO/Resolution/X86/dead-strip-alias.ll +++ b/test/LTO/Resolution/X86/dead-strip-alias.ll @@ -7,7 +7,7 @@ ; CHECK: D external -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @alias = alias i8*, i8** @internal diff --git a/test/LTO/Resolution/X86/dead-strip-fulllto.ll b/test/LTO/Resolution/X86/dead-strip-fulllto.ll index 9a5dd998380..11a8981aceb 100644 --- a/test/LTO/Resolution/X86/dead-strip-fulllto.ll +++ b/test/LTO/Resolution/X86/dead-strip-fulllto.ll @@ -23,7 +23,7 @@ ; THIN: U live2 ; THIN-NOT: odr -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define void @main() { diff --git a/test/LTO/Resolution/X86/diagnostic-handler-remarks-with-hotness.ll b/test/LTO/Resolution/X86/diagnostic-handler-remarks-with-hotness.ll index 33e345f65a3..9932f527dc6 100644 --- a/test/LTO/Resolution/X86/diagnostic-handler-remarks-with-hotness.ll +++ b/test/LTO/Resolution/X86/diagnostic-handler-remarks-with-hotness.ll @@ -35,7 +35,7 @@ ; CHECK: tinkywinky inlined into main with (cost=-15000, threshold=337) (hotness: 300) -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-scei-ps4" declare i32 @patatino() diff --git a/test/LTO/Resolution/X86/diagnostic-handler-remarks.ll b/test/LTO/Resolution/X86/diagnostic-handler-remarks.ll index bc3227017f9..beb0f4fa49b 100644 --- a/test/LTO/Resolution/X86/diagnostic-handler-remarks.ll +++ b/test/LTO/Resolution/X86/diagnostic-handler-remarks.ll @@ -36,7 +36,7 @@ ; YAML-NEXT: - String: ')' ; YAML-NEXT: ... -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-scei-ps4" declare i32 @patatino() diff --git a/test/LTO/Resolution/X86/export-jumptable.ll b/test/LTO/Resolution/X86/export-jumptable.ll index ec23d155913..8ced9d96292 100644 --- a/test/LTO/Resolution/X86/export-jumptable.ll +++ b/test/LTO/Resolution/X86/export-jumptable.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; CHECK: define void @f1() diff --git a/test/LTO/Resolution/X86/function-alias-non-prevailing.ll b/test/LTO/Resolution/X86/function-alias-non-prevailing.ll index cc793f64d9d..ab2cefebb42 100644 --- a/test/LTO/Resolution/X86/function-alias-non-prevailing.ll +++ b/test/LTO/Resolution/X86/function-alias-non-prevailing.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64--fuchsia" ; CHECK: declare void @foo() diff --git a/test/LTO/Resolution/X86/ifunc.ll b/test/LTO/Resolution/X86/ifunc.ll index 5a437fddbcb..c77f1068241 100644 --- a/test/LTO/Resolution/X86/ifunc.ll +++ b/test/LTO/Resolution/X86/ifunc.ll @@ -4,7 +4,7 @@ ; CHECK: T foo ; CHECK: t foo_ifunc -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @foo = ifunc i32 (i32), i64 ()* @foo_ifunc diff --git a/test/LTO/Resolution/X86/intrinsic.ll b/test/LTO/Resolution/X86/intrinsic.ll index 597953155fe..dc287ace0f8 100644 --- a/test/LTO/Resolution/X86/intrinsic.ll +++ b/test/LTO/Resolution/X86/intrinsic.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %foo = type { } declare void @foo( %foo* ) diff --git a/test/LTO/Resolution/X86/link-odr-availextern.ll b/test/LTO/Resolution/X86/link-odr-availextern.ll index cb522bfe7f9..cc360338d6d 100644 --- a/test/LTO/Resolution/X86/link-odr-availextern.ll +++ b/test/LTO/Resolution/X86/link-odr-availextern.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; PREVAILING: define weak_odr i32 @f() diff --git a/test/LTO/Resolution/X86/linker-redef-thin.ll b/test/LTO/Resolution/X86/linker-redef-thin.ll index d965452ba57..4625ce3fa0c 100644 --- a/test/LTO/Resolution/X86/linker-redef-thin.ll +++ b/test/LTO/Resolution/X86/linker-redef-thin.ll @@ -8,7 +8,7 @@ ; CHECK-NEXT: Binding: Weak ; CHECK-NEXT: Type: Function -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define void @patatino() { diff --git a/test/LTO/Resolution/X86/linker-redef.ll b/test/LTO/Resolution/X86/linker-redef.ll index 73301e9e614..b53f811e4cd 100644 --- a/test/LTO/Resolution/X86/linker-redef.ll +++ b/test/LTO/Resolution/X86/linker-redef.ll @@ -8,7 +8,7 @@ ; CHECK-NEXT: Binding: Weak ; CHECK-NEXT: Type: Function -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define void @bar() { diff --git a/test/LTO/Resolution/X86/linkonce.ll b/test/LTO/Resolution/X86/linkonce.ll index a52c4451a43..fbbb458b92d 100644 --- a/test/LTO/Resolution/X86/linkonce.ll +++ b/test/LTO/Resolution/X86/linkonce.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; CHECK: W foo diff --git a/test/LTO/Resolution/X86/load-sample-prof-icp.ll b/test/LTO/Resolution/X86/load-sample-prof-icp.ll index 2c8549c388e..79f9c1e9b76 100644 --- a/test/LTO/Resolution/X86/load-sample-prof-icp.ll +++ b/test/LTO/Resolution/X86/load-sample-prof-icp.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; CHECK-LABEL: @test diff --git a/test/LTO/Resolution/X86/load-sample-prof-lto.ll b/test/LTO/Resolution/X86/load-sample-prof-lto.ll index 47287d16425..bdf4f08dba1 100644 --- a/test/LTO/Resolution/X86/load-sample-prof-lto.ll +++ b/test/LTO/Resolution/X86/load-sample-prof-lto.ll @@ -17,7 +17,7 @@ ; Make sure profile information is attached. ; CHECK: !prof -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define void @foo() local_unnamed_addr !dbg !7 { diff --git a/test/LTO/Resolution/X86/load-sample-prof.ll b/test/LTO/Resolution/X86/load-sample-prof.ll index 8d09cc7327f..2f9d66e6941 100644 --- a/test/LTO/Resolution/X86/load-sample-prof.ll +++ b/test/LTO/Resolution/X86/load-sample-prof.ll @@ -8,7 +8,7 @@ ; ; CHECK: !prof -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define void @foo() local_unnamed_addr !dbg !7 { diff --git a/test/LTO/Resolution/X86/local-def-dllimport.ll b/test/LTO/Resolution/X86/local-def-dllimport.ll index 4c70e72803e..c97e4b7e14c 100644 --- a/test/LTO/Resolution/X86/local-def-dllimport.ll +++ b/test/LTO/Resolution/X86/local-def-dllimport.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" $g = comdat any diff --git a/test/LTO/Resolution/X86/lowertypetests.ll b/test/LTO/Resolution/X86/lowertypetests.ll index 8016a66fb01..e5be4b98cbf 100644 --- a/test/LTO/Resolution/X86/lowertypetests.ll +++ b/test/LTO/Resolution/X86/lowertypetests.ll @@ -8,7 +8,7 @@ ; CHECK: U __typeid_bar_global_addr ; CHECK: U __typeid_foo_global_addr -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @foo = global i32 0, !type !0 diff --git a/test/LTO/Resolution/X86/lto-unit-check.ll b/test/LTO/Resolution/X86/lto-unit-check.ll index de638c1ebb8..1736a5b216a 100644 --- a/test/LTO/Resolution/X86/lto-unit-check.ll +++ b/test/LTO/Resolution/X86/lto-unit-check.ll @@ -51,5 +51,5 @@ ; ENABLESPLITFLAG: !{i32 1, !"EnableSplitLTOUnit", i32 1} ; NOENABLESPLITFLAG-NOT: !{i32 1, !"EnableSplitLTOUnit", i32 1} -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/test/LTO/Resolution/X86/mixed_lto.ll b/test/LTO/Resolution/X86/mixed_lto.ll index 8e5620b709d..aa686a8114c 100644 --- a/test/LTO/Resolution/X86/mixed_lto.ll +++ b/test/LTO/Resolution/X86/mixed_lto.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define i32 @g() { ret i32 0 diff --git a/test/LTO/Resolution/X86/mod-asm-used.ll b/test/LTO/Resolution/X86/mod-asm-used.ll index 245ff429225..8e02b6a444a 100644 --- a/test/LTO/Resolution/X86/mod-asm-used.ll +++ b/test/LTO/Resolution/X86/mod-asm-used.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; CHECK: D foo diff --git a/test/LTO/Resolution/X86/multi-thinlto.ll b/test/LTO/Resolution/X86/multi-thinlto.ll index e782b4fd8ad..06150e44a16 100644 --- a/test/LTO/Resolution/X86/multi-thinlto.ll +++ b/test/LTO/Resolution/X86/multi-thinlto.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/test/LTO/Resolution/X86/not-prevailing-alias.ll b/test/LTO/Resolution/X86/not-prevailing-alias.ll index 9d116472559..79770c5cf4c 100644 --- a/test/LTO/Resolution/X86/not-prevailing-alias.ll +++ b/test/LTO/Resolution/X86/not-prevailing-alias.ll @@ -25,7 +25,7 @@ ; SYMBOLS: NOTYPE GLOBAL DEFAULT UND varAlias ; SYMBOLS: FUNC GLOBAL DEFAULT 2 zed -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @barAlias = alias void(), void()* @bar diff --git a/test/LTO/Resolution/X86/not-prevailing-variables.ll b/test/LTO/Resolution/X86/not-prevailing-variables.ll index 9a7131b642d..6d22baf351d 100644 --- a/test/LTO/Resolution/X86/not-prevailing-variables.ll +++ b/test/LTO/Resolution/X86/not-prevailing-variables.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @var1 = global i32 10, align 4 diff --git a/test/LTO/Resolution/X86/not-prevailing.ll b/test/LTO/Resolution/X86/not-prevailing.ll index fb68b01698c..58c77247242 100644 --- a/test/LTO/Resolution/X86/not-prevailing.ll +++ b/test/LTO/Resolution/X86/not-prevailing.ll @@ -21,7 +21,7 @@ ; SYMBOLS: NOTYPE GLOBAL DEFAULT UND foo ; SYMBOLS: FUNC GLOBAL DEFAULT 2 zed -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" $foo = comdat any diff --git a/test/LTO/Resolution/X86/setting-dso-local.ll b/test/LTO/Resolution/X86/setting-dso-local.ll index bd9351e9151..817a8181ff6 100644 --- a/test/LTO/Resolution/X86/setting-dso-local.ll +++ b/test/LTO/Resolution/X86/setting-dso-local.ll @@ -6,7 +6,7 @@ ; CHECK: 0000000000000000 0 NOTYPE GLOBAL HIDDEN UND foobar -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @foobar = external hidden global i32 diff --git a/test/LTO/Resolution/X86/symtab-elf.ll b/test/LTO/Resolution/X86/symtab-elf.ll index 22915117992..40864a82dd0 100644 --- a/test/LTO/Resolution/X86/symtab-elf.ll +++ b/test/LTO/Resolution/X86/symtab-elf.ll @@ -3,7 +3,7 @@ ; CHECK: target triple: x86_64-unknown-linux-gnu target triple = "x86_64-unknown-linux-gnu" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" ; CHECK-NOT: linker opts: !0 = !{!"/include:foo"} diff --git a/test/LTO/Resolution/X86/type-checked-load.ll b/test/LTO/Resolution/X86/type-checked-load.ll index 726dc970195..3ec783bc565 100644 --- a/test/LTO/Resolution/X86/type-checked-load.ll +++ b/test/LTO/Resolution/X86/type-checked-load.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define {i8*, i1} @foo(i8* %ptr) { diff --git a/test/LTO/X86/Inputs/codemodel-3.ll b/test/LTO/X86/Inputs/codemodel-3.ll index a5ec5728092..7b264af6f48 100644 --- a/test/LTO/X86/Inputs/codemodel-3.ll +++ b/test/LTO/X86/Inputs/codemodel-3.ll @@ -1,5 +1,5 @@ target triple = "x86_64-unknown-linux-gnu" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" !llvm.module.flags = !{!0, !1} diff --git a/test/LTO/X86/Inputs/dllimport.ll b/test/LTO/X86/Inputs/dllimport.ll index f3daab1df09..b1914bebf15 100644 --- a/test/LTO/X86/Inputs/dllimport.ll +++ b/test/LTO/X86/Inputs/dllimport.ll @@ -1,6 +1,6 @@ ; ModuleID = 'b.obj' source_filename = "b.cpp" -target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:w-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 diff --git a/test/LTO/X86/Inputs/remangle_intrinsics_tbaa.ll b/test/LTO/X86/Inputs/remangle_intrinsics_tbaa.ll index e213c2155c2..b216ed04cef 100644 --- a/test/LTO/X86/Inputs/remangle_intrinsics_tbaa.ll +++ b/test/LTO/X86/Inputs/remangle_intrinsics_tbaa.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" %some_named_struct = type { i8, i8 } diff --git a/test/LTO/X86/Inputs/strip-debug-info-bar.ll b/test/LTO/X86/Inputs/strip-debug-info-bar.ll index be4322caa77..4269886676b 100644 --- a/test/LTO/X86/Inputs/strip-debug-info-bar.ll +++ b/test/LTO/X86/Inputs/strip-debug-info-bar.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.12" define void @bar() !dbg !3 { diff --git a/test/LTO/X86/Inputs/type-mapping-bug2.ll b/test/LTO/X86/Inputs/type-mapping-bug2.ll index e866cb71227..b58a1e953fb 100644 --- a/test/LTO/X86/Inputs/type-mapping-bug2.ll +++ b/test/LTO/X86/Inputs/type-mapping-bug2.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define i32 @c() !dbg !6 { diff --git a/test/LTO/X86/codemodel-1.ll b/test/LTO/X86/codemodel-1.ll index 2c54ac31c7a..ca89c943376 100644 --- a/test/LTO/X86/codemodel-1.ll +++ b/test/LTO/X86/codemodel-1.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" !llvm.module.flags = !{!0, !1} diff --git a/test/LTO/X86/codemodel-2.ll b/test/LTO/X86/codemodel-2.ll index 1b61747c283..408c02a9ecf 100644 --- a/test/LTO/X86/codemodel-2.ll +++ b/test/LTO/X86/codemodel-2.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" !llvm.module.flags = !{!0, !1} diff --git a/test/LTO/X86/codemodel-3.ll b/test/LTO/X86/codemodel-3.ll index 9e03f84b6a0..987d37d22c1 100644 --- a/test/LTO/X86/codemodel-3.ll +++ b/test/LTO/X86/codemodel-3.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" !llvm.module.flags = !{!0, !1} diff --git a/test/LTO/X86/current-section.ll b/test/LTO/X86/current-section.ll index a54f09d8512..69f8bfaac3b 100644 --- a/test/LTO/X86/current-section.ll +++ b/test/LTO/X86/current-section.ll @@ -2,7 +2,7 @@ ; RUN: llvm-lto -o %t2 %t1 ; REQUIRES: default_triple -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" module asm ".align 4" diff --git a/test/LTO/X86/diagnostic-handler-remarks-with-hotness.ll b/test/LTO/X86/diagnostic-handler-remarks-with-hotness.ll index 56ed420ff00..d1dddf1a71f 100644 --- a/test/LTO/X86/diagnostic-handler-remarks-with-hotness.ll +++ b/test/LTO/X86/diagnostic-handler-remarks-with-hotness.ll @@ -25,7 +25,7 @@ ; YAML-NEXT: - String: ')' ; YAML-NEXT: ... -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-darwin" declare i32 @bar() diff --git a/test/LTO/X86/diagnostic-handler-remarks.ll b/test/LTO/X86/diagnostic-handler-remarks.ll index 6af6d8637c2..94f88ec43c5 100644 --- a/test/LTO/X86/diagnostic-handler-remarks.ll +++ b/test/LTO/X86/diagnostic-handler-remarks.ll @@ -61,7 +61,7 @@ ; YAML-NEXT: - String: ')' ; YAML-NEXT: ... -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-darwin" declare i32 @bar() diff --git a/test/LTO/X86/disable-verify.ll b/test/LTO/X86/disable-verify.ll index 68c2c9dd212..e66ebac05ce 100644 --- a/test/LTO/X86/disable-verify.ll +++ b/test/LTO/X86/disable-verify.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-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. diff --git a/test/LTO/X86/dllimport.ll b/test/LTO/X86/dllimport.ll index eb9f7df5c8b..4e2666817c4 100644 --- a/test/LTO/X86/dllimport.ll +++ b/test/LTO/X86/dllimport.ll @@ -9,7 +9,7 @@ ; ModuleID = 'a.obj' source_filename = "a.cpp" -target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-windows-msvc19.11.0" ; Function Attrs: norecurse nounwind sspstrong uwtable diff --git a/test/LTO/X86/internalize.ll b/test/LTO/X86/internalize.ll index aa6aa652cdc..6b18aa7ded0 100644 --- a/test/LTO/X86/internalize.ll +++ b/test/LTO/X86/internalize.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" define void @foo() { diff --git a/test/LTO/X86/no-undefined-puts-when-implemented.ll b/test/LTO/X86/no-undefined-puts-when-implemented.ll index 34d2544db45..51e5eabd03f 100644 --- a/test/LTO/X86/no-undefined-puts-when-implemented.ll +++ b/test/LTO/X86/no-undefined-puts-when-implemented.ll @@ -5,7 +5,7 @@ ; rdar://problem/16165191 ; runtime library implementations should not be renamed -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-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" diff --git a/test/LTO/X86/objc-detection.ll b/test/LTO/X86/objc-detection.ll index 05de9446881..cdae8ab38ff 100644 --- a/test/LTO/X86/objc-detection.ll +++ b/test/LTO/X86/objc-detection.ll @@ -3,7 +3,7 @@ ; CHECK: contains ObjC -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.12.0" %0 = type opaque diff --git a/test/LTO/X86/pr38046.ll b/test/LTO/X86/pr38046.ll index be5b88c592a..6743121b715 100644 --- a/test/LTO/X86/pr38046.ll +++ b/test/LTO/X86/pr38046.ll @@ -7,7 +7,7 @@ ; CHECK-NOT: Global is external, but doesn't have external or weak linkage -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define i32 @foo() { diff --git a/test/LTO/X86/private-symbol.ll b/test/LTO/X86/private-symbol.ll index 3f705fc841e..e13a393442d 100644 --- a/test/LTO/X86/private-symbol.ll +++ b/test/LTO/X86/private-symbol.ll @@ -1,7 +1,7 @@ ; RUN: llvm-as < %s >%t1 ; RUN: llvm-lto -o %t2 %t1 -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 diff --git a/test/LTO/X86/remangle_intrinsics_tbaa.ll b/test/LTO/X86/remangle_intrinsics_tbaa.ll index 30c27dfd5ec..cac72f4330b 100644 --- a/test/LTO/X86/remangle_intrinsics_tbaa.ll +++ b/test/LTO/X86/remangle_intrinsics_tbaa.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" %some_named_struct = type { i8 } diff --git a/test/LTO/X86/set-merged.ll b/test/LTO/X86/set-merged.ll index 56cbb4b2dce..e6cc51fcfcf 100644 --- a/test/LTO/X86/set-merged.ll +++ b/test/LTO/X86/set-merged.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.10.0" ; CHECK: _main diff --git a/test/LTO/X86/strip-debug-info-no-call-loc.ll b/test/LTO/X86/strip-debug-info-no-call-loc.ll index 00508aeaf8a..6ef46974403 100644 --- a/test/LTO/X86/strip-debug-info-no-call-loc.ll +++ b/test/LTO/X86/strip-debug-info-no-call-loc.ll @@ -9,7 +9,7 @@ ; CHECK-WARN: warning{{.*}} ignoring invalid debug info ; CHECK: {{f$}} -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx" define void @h() #0 !dbg !7 { diff --git a/test/LTO/X86/strip-debug-info.ll b/test/LTO/X86/strip-debug-info.ll index 32a721dbea7..f8db5a15fe9 100644 --- a/test/LTO/X86/strip-debug-info.ll +++ b/test/LTO/X86/strip-debug-info.ll @@ -29,7 +29,7 @@ ; CHECK-WARN: warning{{.*}} ignoring invalid debug info ; CHECK-WARN-NOT: Broken module found ; CHECK: foo -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.12" declare void @bar() diff --git a/test/LTO/X86/symver-asm.ll b/test/LTO/X86/symver-asm.ll index 0cb3d661d03..85d032ba1ab 100644 --- a/test/LTO/X86/symver-asm.ll +++ b/test/LTO/X86/symver-asm.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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" diff --git a/test/LTO/X86/symver-asm2.ll b/test/LTO/X86/symver-asm2.ll index 5eca39d6f3d..42d6e54bd06 100644 --- a/test/LTO/X86/symver-asm2.ll +++ b/test/LTO/X86/symver-asm2.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" module asm ".global _start" diff --git a/test/LTO/X86/symver-asm3.ll b/test/LTO/X86/symver-asm3.ll index c64a9beb870..0ae8f88c489 100644 --- a/test/LTO/X86/symver-asm3.ll +++ b/test/LTO/X86/symver-asm3.ll @@ -3,7 +3,7 @@ ; RUN: llvm-as < %s >%t1 ; RUN: llvm-nm %t1 | FileCheck %s -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" module asm "foo1:" diff --git a/test/LTO/X86/tailcallelim.ll b/test/LTO/X86/tailcallelim.ll index 794e6031ebd..2c3a9b52fa9 100644 --- a/test/LTO/X86/tailcallelim.ll +++ b/test/LTO/X86/tailcallelim.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define void @foo() { diff --git a/test/LTO/X86/triple-init.ll b/test/LTO/X86/triple-init.ll index 397587380ca..4c45dd1e755 100644 --- a/test/LTO/X86/triple-init.ll +++ b/test/LTO/X86/triple-init.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.9" declare double @pow(double, double) diff --git a/test/LTO/X86/triple-init2.ll b/test/LTO/X86/triple-init2.ll index 9e91498478c..a6ff12d11fd 100644 --- a/test/LTO/X86/triple-init2.ll +++ b/test/LTO/X86/triple-init2.ll @@ -15,7 +15,7 @@ ; transformation on Windows. ; CHECK: U exp2f -target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:w-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 { diff --git a/test/LTO/X86/type-mapping-bug2.ll b/test/LTO/X86/type-mapping-bug2.ll index 967b68fa3eb..f14183f506f 100644 --- a/test/LTO/X86/type-mapping-bug2.ll +++ b/test/LTO/X86/type-mapping-bug2.ll @@ -4,7 +4,7 @@ ; ; Test for the issue described in https://bugs.llvm.org/show_bug.cgi?id=37684 -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 diff --git a/test/ThinLTO/X86/Inputs/alias_internal.ll b/test/ThinLTO/X86/Inputs/alias_internal.ll index 88bc8335f5e..e55e40b1d05 100644 --- a/test/ThinLTO/X86/Inputs/alias_internal.ll +++ b/test/ThinLTO/X86/Inputs/alias_internal.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define internal i32 @f(i8*) unnamed_addr { diff --git a/test/ThinLTO/X86/Inputs/cache-icall.ll b/test/ThinLTO/X86/Inputs/cache-icall.ll index 489db0627d8..43608d5bf89 100644 --- a/test/ThinLTO/X86/Inputs/cache-icall.ll +++ b/test/ThinLTO/X86/Inputs/cache-icall.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define void @f() !type !0 { diff --git a/test/ThinLTO/X86/Inputs/cache-import-lists1.ll b/test/ThinLTO/X86/Inputs/cache-import-lists1.ll index f0ebfe29da0..58bfb39f9ee 100644 --- a/test/ThinLTO/X86/Inputs/cache-import-lists1.ll +++ b/test/ThinLTO/X86/Inputs/cache-import-lists1.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define void @f1() { diff --git a/test/ThinLTO/X86/Inputs/cache-import-lists2.ll b/test/ThinLTO/X86/Inputs/cache-import-lists2.ll index 258a20be169..899bbaea13d 100644 --- a/test/ThinLTO/X86/Inputs/cache-import-lists2.ll +++ b/test/ThinLTO/X86/Inputs/cache-import-lists2.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define void @f2() { diff --git a/test/ThinLTO/X86/Inputs/cache-typeid-resolutions-import.ll b/test/ThinLTO/X86/Inputs/cache-typeid-resolutions-import.ll index 2cf9a2d8643..95ecd182435 100644 --- a/test/ThinLTO/X86/Inputs/cache-typeid-resolutions-import.ll +++ b/test/ThinLTO/X86/Inputs/cache-typeid-resolutions-import.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define i1 @importf1(i8* %p) { diff --git a/test/ThinLTO/X86/Inputs/cache-typeid-resolutions1.ll b/test/ThinLTO/X86/Inputs/cache-typeid-resolutions1.ll index 679b6b3c682..e53673bcd05 100644 --- a/test/ThinLTO/X86/Inputs/cache-typeid-resolutions1.ll +++ b/test/ThinLTO/X86/Inputs/cache-typeid-resolutions1.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @vt1 = constant i32 0, !type !0 diff --git a/test/ThinLTO/X86/Inputs/cache-typeid-resolutions2.ll b/test/ThinLTO/X86/Inputs/cache-typeid-resolutions2.ll index 067804293b5..283badad3bb 100644 --- a/test/ThinLTO/X86/Inputs/cache-typeid-resolutions2.ll +++ b/test/ThinLTO/X86/Inputs/cache-typeid-resolutions2.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @vt2 = constant i1 (i8*)* @vf2, !type !0 diff --git a/test/ThinLTO/X86/Inputs/cache-typeid-resolutions3.ll b/test/ThinLTO/X86/Inputs/cache-typeid-resolutions3.ll index c3de5205ede..830622e9cd7 100644 --- a/test/ThinLTO/X86/Inputs/cache-typeid-resolutions3.ll +++ b/test/ThinLTO/X86/Inputs/cache-typeid-resolutions3.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @vt2a = constant i1 (i8*)* @vf2a, !type !0 diff --git a/test/ThinLTO/X86/Inputs/cache.ll b/test/ThinLTO/X86/Inputs/cache.ll index 62ddd68ef6a..aab44cb80c7 100644 --- a/test/ThinLTO/X86/Inputs/cache.ll +++ b/test/ThinLTO/X86/Inputs/cache.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" diff --git a/test/ThinLTO/X86/Inputs/callees-metadata.ll b/test/ThinLTO/X86/Inputs/callees-metadata.ll index 7718347e324..1e77b08863a 100644 --- a/test/ThinLTO/X86/Inputs/callees-metadata.ll +++ b/test/ThinLTO/X86/Inputs/callees-metadata.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 diff --git a/test/ThinLTO/X86/Inputs/cfi-distributed.ll b/test/ThinLTO/X86/Inputs/cfi-distributed.ll index 18554a009fc..cc1c4fd7875 100644 --- a/test/ThinLTO/X86/Inputs/cfi-distributed.ll +++ b/test/ThinLTO/X86/Inputs/cfi-distributed.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-grtev4-linux-gnu" %struct.B2 = type { %struct.A2 } diff --git a/test/ThinLTO/X86/Inputs/cfi-icall-only-bazqux.ll b/test/ThinLTO/X86/Inputs/cfi-icall-only-bazqux.ll index 94186ae1621..06fb015b222 100644 --- a/test/ThinLTO/X86/Inputs/cfi-icall-only-bazqux.ll +++ b/test/ThinLTO/X86/Inputs/cfi-icall-only-bazqux.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" declare !type !0 i8 @bar(i8*) diff --git a/test/ThinLTO/X86/Inputs/crash_debuginfo.ll b/test/ThinLTO/X86/Inputs/crash_debuginfo.ll index 70d3edd7efe..4880cd98d81 100644 --- a/test/ThinLTO/X86/Inputs/crash_debuginfo.ll +++ b/test/ThinLTO/X86/Inputs/crash_debuginfo.ll @@ -1,6 +1,6 @@ ; ModuleID = 'test/ThinLTO/X86/Inputs/crash_debuginfo.ll' source_filename = "src.bc" -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.7.0" define void @bar(i32 %arg) { diff --git a/test/ThinLTO/X86/Inputs/deadstrip.ll b/test/ThinLTO/X86/Inputs/deadstrip.ll index 34211802a77..057305ae67e 100644 --- a/test/ThinLTO/X86/Inputs/deadstrip.ll +++ b/test/ThinLTO/X86/Inputs/deadstrip.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" declare void @dead_func() diff --git a/test/ThinLTO/X86/Inputs/debuginfo-compositetype-import.ll b/test/ThinLTO/X86/Inputs/debuginfo-compositetype-import.ll index 5b1e16b479d..7e80c4d7c44 100644 --- a/test/ThinLTO/X86/Inputs/debuginfo-compositetype-import.ll +++ b/test/ThinLTO/X86/Inputs/debuginfo-compositetype-import.ll @@ -1,6 +1,6 @@ ; ModuleID = 'debuginfo-compositetype-import2.c' source_filename = "debuginfo-compositetype-import2.c" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable diff --git a/test/ThinLTO/X86/Inputs/debuginfo-cu-import.ll b/test/ThinLTO/X86/Inputs/debuginfo-cu-import.ll index 24370724908..6b824e94073 100644 --- a/test/ThinLTO/X86/Inputs/debuginfo-cu-import.ll +++ b/test/ThinLTO/X86/Inputs/debuginfo-cu-import.ll @@ -1,6 +1,6 @@ ; ModuleID = 'debuginfo-cu-import2.c' source_filename = "debuginfo-cu-import2.c" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable diff --git a/test/ThinLTO/X86/Inputs/devirt2.ll b/test/ThinLTO/X86/Inputs/devirt2.ll index a67e803161d..659c0afccde 100644 --- a/test/ThinLTO/X86/Inputs/devirt2.ll +++ b/test/ThinLTO/X86/Inputs/devirt2.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-grtev4-linux-gnu" %struct.A = type { i32 (...)** } diff --git a/test/ThinLTO/X86/Inputs/diagnostic-handler-remarks.ll b/test/ThinLTO/X86/Inputs/diagnostic-handler-remarks.ll index c6ef6d1c78e..35154e67947 100644 --- a/test/ThinLTO/X86/Inputs/diagnostic-handler-remarks.ll +++ b/test/ThinLTO/X86/Inputs/diagnostic-handler-remarks.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" diff --git a/test/ThinLTO/X86/Inputs/dicompositetype-unique-alias.ll b/test/ThinLTO/X86/Inputs/dicompositetype-unique-alias.ll index ee1c272d397..8fa97d4f0ad 100644 --- a/test/ThinLTO/X86/Inputs/dicompositetype-unique-alias.ll +++ b/test/ThinLTO/X86/Inputs/dicompositetype-unique-alias.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-scei-ps4" %struct.CFVS = type { %struct.Vec } diff --git a/test/ThinLTO/X86/Inputs/dicompositetype-unique.ll b/test/ThinLTO/X86/Inputs/dicompositetype-unique.ll index 8d31eae6e81..e27a7b1623f 100644 --- a/test/ThinLTO/X86/Inputs/dicompositetype-unique.ll +++ b/test/ThinLTO/X86/Inputs/dicompositetype-unique.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" diff --git a/test/ThinLTO/X86/Inputs/dicompositetype-unique2.ll b/test/ThinLTO/X86/Inputs/dicompositetype-unique2.ll index 1d2f584975e..507fa13c623 100644 --- a/test/ThinLTO/X86/Inputs/dicompositetype-unique2.ll +++ b/test/ThinLTO/X86/Inputs/dicompositetype-unique2.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-scei-ps4" %struct.CFVS = type { %struct.Vec } diff --git a/test/ThinLTO/X86/Inputs/dot-dumper.ll b/test/ThinLTO/X86/Inputs/dot-dumper.ll index 4e745a459fa..d149de2a96f 100644 --- a/test/ThinLTO/X86/Inputs/dot-dumper.ll +++ b/test/ThinLTO/X86/Inputs/dot-dumper.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 diff --git a/test/ThinLTO/X86/Inputs/dot-dumper2.ll b/test/ThinLTO/X86/Inputs/dot-dumper2.ll index 854c1e4a2de..6d9783e92d0 100644 --- a/test/ThinLTO/X86/Inputs/dot-dumper2.ll +++ b/test/ThinLTO/X86/Inputs/dot-dumper2.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 diff --git a/test/ThinLTO/X86/Inputs/drop-debug-info.ll b/test/ThinLTO/X86/Inputs/drop-debug-info.ll index ad9c48597b9..cf3b295153a 100644 --- a/test/ThinLTO/X86/Inputs/drop-debug-info.ll +++ b/test/ThinLTO/X86/Inputs/drop-debug-info.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" diff --git a/test/ThinLTO/X86/Inputs/dsolocal_dllimport.ll b/test/ThinLTO/X86/Inputs/dsolocal_dllimport.ll index 1dfb7c5b962..5e08d9812db 100644 --- a/test/ThinLTO/X86/Inputs/dsolocal_dllimport.ll +++ b/test/ThinLTO/X86/Inputs/dsolocal_dllimport.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:w-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 diff --git a/test/ThinLTO/X86/Inputs/emit_imports.ll b/test/ThinLTO/X86/Inputs/emit_imports.ll index 7cf01bc86c3..31c72ec4653 100644 --- a/test/ThinLTO/X86/Inputs/emit_imports.ll +++ b/test/ThinLTO/X86/Inputs/emit_imports.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define void @g() { diff --git a/test/ThinLTO/X86/Inputs/emit_imports2.ll b/test/ThinLTO/X86/Inputs/emit_imports2.ll index 8776860d739..2136ec3471d 100644 --- a/test/ThinLTO/X86/Inputs/emit_imports2.ll +++ b/test/ThinLTO/X86/Inputs/emit_imports2.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define void @h() { diff --git a/test/ThinLTO/X86/Inputs/empty.ll b/test/ThinLTO/X86/Inputs/empty.ll index a4e3140422e..a3c99cdfe77 100644 --- a/test/ThinLTO/X86/Inputs/empty.ll +++ b/test/ThinLTO/X86/Inputs/empty.ll @@ -1,2 +1,2 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/test/ThinLTO/X86/Inputs/empty_module_with_cache.ll b/test/ThinLTO/X86/Inputs/empty_module_with_cache.ll index 276cf61d042..1c55e078ea3 100644 --- a/test/ThinLTO/X86/Inputs/empty_module_with_cache.ll +++ b/test/ThinLTO/X86/Inputs/empty_module_with_cache.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" diff --git a/test/ThinLTO/X86/Inputs/export.ll b/test/ThinLTO/X86/Inputs/export.ll index d99a76c3fce..cab8591fd9f 100644 --- a/test/ThinLTO/X86/Inputs/export.ll +++ b/test/ThinLTO/X86/Inputs/export.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" define i32 @main() #0 { diff --git a/test/ThinLTO/X86/Inputs/funcimport-debug.ll b/test/ThinLTO/X86/Inputs/funcimport-debug.ll index 022d10641eb..b204afe3d4d 100644 --- a/test/ThinLTO/X86/Inputs/funcimport-debug.ll +++ b/test/ThinLTO/X86/Inputs/funcimport-debug.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" diff --git a/test/ThinLTO/X86/Inputs/funcimport-tbaa.ll b/test/ThinLTO/X86/Inputs/funcimport-tbaa.ll index 4ecfa7886b5..72aea1e5e25 100644 --- a/test/ThinLTO/X86/Inputs/funcimport-tbaa.ll +++ b/test/ThinLTO/X86/Inputs/funcimport-tbaa.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" diff --git a/test/ThinLTO/X86/Inputs/funcimport.ll b/test/ThinLTO/X86/Inputs/funcimport.ll index 1a79dbe14dc..e0df9e0e7c0 100644 --- a/test/ThinLTO/X86/Inputs/funcimport.ll +++ b/test/ThinLTO/X86/Inputs/funcimport.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" diff --git a/test/ThinLTO/X86/Inputs/funcimport2.ll b/test/ThinLTO/X86/Inputs/funcimport2.ll index dcebd184883..216ef0f1daa 100644 --- a/test/ThinLTO/X86/Inputs/funcimport2.ll +++ b/test/ThinLTO/X86/Inputs/funcimport2.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" diff --git a/test/ThinLTO/X86/Inputs/function_entry_count.ll b/test/ThinLTO/X86/Inputs/function_entry_count.ll index 87418dd30e8..ea2c2eda8d5 100644 --- a/test/ThinLTO/X86/Inputs/function_entry_count.ll +++ b/test/ThinLTO/X86/Inputs/function_entry_count.ll @@ -1,5 +1,5 @@ target triple = "x86_64-unknown-linux-gnu" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" declare void @h(); diff --git a/test/ThinLTO/X86/Inputs/globals-import-blockaddr.ll b/test/ThinLTO/X86/Inputs/globals-import-blockaddr.ll index 3349549f66f..fe1fa70ee83 100644 --- a/test/ThinLTO/X86/Inputs/globals-import-blockaddr.ll +++ b/test/ThinLTO/X86/Inputs/globals-import-blockaddr.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 diff --git a/test/ThinLTO/X86/Inputs/globals-import-cf-baz.ll b/test/ThinLTO/X86/Inputs/globals-import-cf-baz.ll index 5a3e5001f6d..e41163063b4 100644 --- a/test/ThinLTO/X86/Inputs/globals-import-cf-baz.ll +++ b/test/ThinLTO/X86/Inputs/globals-import-cf-baz.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 diff --git a/test/ThinLTO/X86/Inputs/globals-import.ll b/test/ThinLTO/X86/Inputs/globals-import.ll index ec4ff6eb338..b229f4a4bde 100644 --- a/test/ThinLTO/X86/Inputs/globals-import.ll +++ b/test/ThinLTO/X86/Inputs/globals-import.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @baz = internal constant i32 10, align 4 diff --git a/test/ThinLTO/X86/Inputs/import_opaque_type.ll b/test/ThinLTO/X86/Inputs/import_opaque_type.ll index 5c452d58e8c..fe2b2934724 100644 --- a/test/ThinLTO/X86/Inputs/import_opaque_type.ll +++ b/test/ThinLTO/X86/Inputs/import_opaque_type.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" %0 = type { i8 } diff --git a/test/ThinLTO/X86/Inputs/index-const-prop-alias.ll b/test/ThinLTO/X86/Inputs/index-const-prop-alias.ll index 8d76b450c8a..d5aa6ee0b61 100644 --- a/test/ThinLTO/X86/Inputs/index-const-prop-alias.ll +++ b/test/ThinLTO/X86/Inputs/index-const-prop-alias.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @g = global i32 42, align 4 diff --git a/test/ThinLTO/X86/Inputs/index-const-prop-cache-foo.ll b/test/ThinLTO/X86/Inputs/index-const-prop-cache-foo.ll index a306b5a3491..5f85f1e38c9 100644 --- a/test/ThinLTO/X86/Inputs/index-const-prop-cache-foo.ll +++ b/test/ThinLTO/X86/Inputs/index-const-prop-cache-foo.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 diff --git a/test/ThinLTO/X86/Inputs/index-const-prop-cache-test1.ll b/test/ThinLTO/X86/Inputs/index-const-prop-cache-test1.ll index a7a21f9337d..6bcf3b32d0d 100644 --- a/test/ThinLTO/X86/Inputs/index-const-prop-cache-test1.ll +++ b/test/ThinLTO/X86/Inputs/index-const-prop-cache-test1.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind ssp uwtable diff --git a/test/ThinLTO/X86/Inputs/index-const-prop-cache-test2.ll b/test/ThinLTO/X86/Inputs/index-const-prop-cache-test2.ll index 05a168fc8f0..75a8f071f48 100644 --- a/test/ThinLTO/X86/Inputs/index-const-prop-cache-test2.ll +++ b/test/ThinLTO/X86/Inputs/index-const-prop-cache-test2.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind ssp uwtable diff --git a/test/ThinLTO/X86/Inputs/index-const-prop-comdat.ll b/test/ThinLTO/X86/Inputs/index-const-prop-comdat.ll index 44c9b3e26f3..819ba8caa32 100644 --- a/test/ThinLTO/X86/Inputs/index-const-prop-comdat.ll +++ b/test/ThinLTO/X86/Inputs/index-const-prop-comdat.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" $comdat.any = comdat any diff --git a/test/ThinLTO/X86/Inputs/index-const-prop-define-g.ll b/test/ThinLTO/X86/Inputs/index-const-prop-define-g.ll index 68947b4c3b1..555f76f5930 100644 --- a/test/ThinLTO/X86/Inputs/index-const-prop-define-g.ll +++ b/test/ThinLTO/X86/Inputs/index-const-prop-define-g.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @g = global i32 42, align 4 diff --git a/test/ThinLTO/X86/Inputs/index-const-prop-full-lto.ll b/test/ThinLTO/X86/Inputs/index-const-prop-full-lto.ll index df57a897b72..e22f9198951 100644 --- a/test/ThinLTO/X86/Inputs/index-const-prop-full-lto.ll +++ b/test/ThinLTO/X86/Inputs/index-const-prop-full-lto.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @g = external global i32 diff --git a/test/ThinLTO/X86/Inputs/index-const-prop-gvref.ll b/test/ThinLTO/X86/Inputs/index-const-prop-gvref.ll index 53020763dff..ec0de9c9141 100644 --- a/test/ThinLTO/X86/Inputs/index-const-prop-gvref.ll +++ b/test/ThinLTO/X86/Inputs/index-const-prop-gvref.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @b = global i32* @a, align 8 diff --git a/test/ThinLTO/X86/Inputs/index-const-prop-linkage.ll b/test/ThinLTO/X86/Inputs/index-const-prop-linkage.ll index 7f74ca67113..24c724743e0 100644 --- a/test/ThinLTO/X86/Inputs/index-const-prop-linkage.ll +++ b/test/ThinLTO/X86/Inputs/index-const-prop-linkage.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @g1 = common global i32 0, align 4 diff --git a/test/ThinLTO/X86/Inputs/index-const-prop.ll b/test/ThinLTO/X86/Inputs/index-const-prop.ll index 90e1763349c..eda62fb4e5b 100644 --- a/test/ThinLTO/X86/Inputs/index-const-prop.ll +++ b/test/ThinLTO/X86/Inputs/index-const-prop.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 diff --git a/test/ThinLTO/X86/Inputs/lazyload_metadata.ll b/test/ThinLTO/X86/Inputs/lazyload_metadata.ll index 5ad8652b5d2..f51a08a1a3f 100644 --- a/test/ThinLTO/X86/Inputs/lazyload_metadata.ll +++ b/test/ThinLTO/X86/Inputs/lazyload_metadata.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" declare void @globalfunc1() diff --git a/test/ThinLTO/X86/Inputs/linkonce_aliasee_ref_import.ll b/test/ThinLTO/X86/Inputs/linkonce_aliasee_ref_import.ll index f832f843d45..66847f50b15 100644 --- a/test/ThinLTO/X86/Inputs/linkonce_aliasee_ref_import.ll +++ b/test/ThinLTO/X86/Inputs/linkonce_aliasee_ref_import.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-grtev4-linux-gnu" define i32 @main() #0 { diff --git a/test/ThinLTO/X86/Inputs/linkonce_odr_unnamed_addr.ll b/test/ThinLTO/X86/Inputs/linkonce_odr_unnamed_addr.ll index e0bb06859e7..6ec8d0048fd 100644 --- a/test/ThinLTO/X86/Inputs/linkonce_odr_unnamed_addr.ll +++ b/test/ThinLTO/X86/Inputs/linkonce_odr_unnamed_addr.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-grtev4-linux-gnu" @linkonceodrunnamed = linkonce_odr unnamed_addr constant i32 0 diff --git a/test/ThinLTO/X86/Inputs/linkonce_resolution_comdat.ll b/test/ThinLTO/X86/Inputs/linkonce_resolution_comdat.ll index 92b51823159..59434a81986 100644 --- a/test/ThinLTO/X86/Inputs/linkonce_resolution_comdat.ll +++ b/test/ThinLTO/X86/Inputs/linkonce_resolution_comdat.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" $c2 = comdat any diff --git a/test/ThinLTO/X86/Inputs/llvm.used.ll b/test/ThinLTO/X86/Inputs/llvm.used.ll index 8f13709524b..35f5529c2b6 100644 --- a/test/ThinLTO/X86/Inputs/llvm.used.ll +++ b/test/ThinLTO/X86/Inputs/llvm.used.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" diff --git a/test/ThinLTO/X86/Inputs/local_name_conflict1.ll b/test/ThinLTO/X86/Inputs/local_name_conflict1.ll index de43b7825b9..d7b7ea61883 100644 --- a/test/ThinLTO/X86/Inputs/local_name_conflict1.ll +++ b/test/ThinLTO/X86/Inputs/local_name_conflict1.ll @@ -1,6 +1,6 @@ ; ModuleID = 'local_name_conflict.o' source_filename = "local_name_conflict.c" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @baz = internal constant i32 10, align 4 diff --git a/test/ThinLTO/X86/Inputs/local_name_conflict2.ll b/test/ThinLTO/X86/Inputs/local_name_conflict2.ll index 7e2412af20f..40a4e866599 100644 --- a/test/ThinLTO/X86/Inputs/local_name_conflict2.ll +++ b/test/ThinLTO/X86/Inputs/local_name_conflict2.ll @@ -1,6 +1,6 @@ ; ModuleID = 'local_name_conflict.o' source_filename = "local_name_conflict.c" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @baz = internal constant i32 10, align 4 diff --git a/test/ThinLTO/X86/Inputs/local_name_conflict_var1.ll b/test/ThinLTO/X86/Inputs/local_name_conflict_var1.ll index bec5f67f594..fb5306fc337 100644 --- a/test/ThinLTO/X86/Inputs/local_name_conflict_var1.ll +++ b/test/ThinLTO/X86/Inputs/local_name_conflict_var1.ll @@ -1,6 +1,6 @@ ; ModuleID = 'local_name_conflict_var.o' source_filename = "local_name_conflict_var.c" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @baz = internal global i32 10, align 4 diff --git a/test/ThinLTO/X86/Inputs/local_name_conflict_var2.ll b/test/ThinLTO/X86/Inputs/local_name_conflict_var2.ll index 51cd0bef095..bf3c262f180 100644 --- a/test/ThinLTO/X86/Inputs/local_name_conflict_var2.ll +++ b/test/ThinLTO/X86/Inputs/local_name_conflict_var2.ll @@ -1,6 +1,6 @@ ; ModuleID = 'local_name_conflict_var.o' source_filename = "local_name_conflict_var.c" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @baz = internal global i32 10, align 4 diff --git a/test/ThinLTO/X86/Inputs/merge-triple.ll b/test/ThinLTO/X86/Inputs/merge-triple.ll index 3be4b8f4442..6ee881573ce 100644 --- a/test/ThinLTO/X86/Inputs/merge-triple.ll +++ b/test/ThinLTO/X86/Inputs/merge-triple.ll @@ -1,2 +1,2 @@ target triple = "x86_64-apple-macosx10.11.0" -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" diff --git a/test/ThinLTO/X86/Inputs/module_asm.ll b/test/ThinLTO/X86/Inputs/module_asm.ll index f713310eaef..337e8613c6e 100644 --- a/test/ThinLTO/X86/Inputs/module_asm.ll +++ b/test/ThinLTO/X86/Inputs/module_asm.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define i32 @main({ i64, { i64, i8* }* } %unnamed) #0 { diff --git a/test/ThinLTO/X86/Inputs/module_asm2.ll b/test/ThinLTO/X86/Inputs/module_asm2.ll index f5ff45178d1..a8081cccaf3 100644 --- a/test/ThinLTO/X86/Inputs/module_asm2.ll +++ b/test/ThinLTO/X86/Inputs/module_asm2.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define i32 @main({ i64, { i64, i8* }* } %unnamed) #0 { diff --git a/test/ThinLTO/X86/Inputs/noinline.ll b/test/ThinLTO/X86/Inputs/noinline.ll index f412b332c1c..73db2912cab 100644 --- a/test/ThinLTO/X86/Inputs/noinline.ll +++ b/test/ThinLTO/X86/Inputs/noinline.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" define i32 @foo(i32) local_unnamed_addr #0 { diff --git a/test/ThinLTO/X86/Inputs/personality-local.ll b/test/ThinLTO/X86/Inputs/personality-local.ll index c610a69746e..dc27a375e1a 100644 --- a/test/ThinLTO/X86/Inputs/personality-local.ll +++ b/test/ThinLTO/X86/Inputs/personality-local.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" define void @foo() { diff --git a/test/ThinLTO/X86/Inputs/personality.ll b/test/ThinLTO/X86/Inputs/personality.ll index c97b5038639..37046b5c28d 100644 --- a/test/ThinLTO/X86/Inputs/personality.ll +++ b/test/ThinLTO/X86/Inputs/personality.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 { diff --git a/test/ThinLTO/X86/Inputs/pr35472.ll b/test/ThinLTO/X86/Inputs/pr35472.ll index c330193d737..b9c92b3e3fb 100644 --- a/test/ThinLTO/X86/Inputs/pr35472.ll +++ b/test/ThinLTO/X86/Inputs/pr35472.ll @@ -1,6 +1,6 @@ ; ModuleID = 'b.cpp' source_filename = "b.cpp" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: noinline optnone uwtable diff --git a/test/ThinLTO/X86/Inputs/reference_non_importable.ll b/test/ThinLTO/X86/Inputs/reference_non_importable.ll index 66289663a0d..dab18539ec6 100644 --- a/test/ThinLTO/X86/Inputs/reference_non_importable.ll +++ b/test/ThinLTO/X86/Inputs/reference_non_importable.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" declare i8 **@foo() diff --git a/test/ThinLTO/X86/Inputs/referenced_by_constant.ll b/test/ThinLTO/X86/Inputs/referenced_by_constant.ll index 205308ba234..f5e7bc9d89a 100644 --- a/test/ThinLTO/X86/Inputs/referenced_by_constant.ll +++ b/test/ThinLTO/X86/Inputs/referenced_by_constant.ll @@ -1,5 +1,5 @@ -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" define void @referencedbyglobal() { diff --git a/test/ThinLTO/X86/Inputs/strong_non_prevailing.ll b/test/ThinLTO/X86/Inputs/strong_non_prevailing.ll index f2d74a03737..5473f817f13 100644 --- a/test/ThinLTO/X86/Inputs/strong_non_prevailing.ll +++ b/test/ThinLTO/X86/Inputs/strong_non_prevailing.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" $__llvm_profile_filename = comdat any diff --git a/test/ThinLTO/X86/Inputs/thinlto-internalize-used2.ll b/test/ThinLTO/X86/Inputs/thinlto-internalize-used2.ll index de41676271c..225685d931b 100644 --- a/test/ThinLTO/X86/Inputs/thinlto-internalize-used2.ll +++ b/test/ThinLTO/X86/Inputs/thinlto-internalize-used2.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.15.0" define i32 @main() { diff --git a/test/ThinLTO/X86/Inputs/weak_resolution.ll b/test/ThinLTO/X86/Inputs/weak_resolution.ll index 9ef7cbb0986..fe9edc66d49 100644 --- a/test/ThinLTO/X86/Inputs/weak_resolution.ll +++ b/test/ThinLTO/X86/Inputs/weak_resolution.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" ; Alias are not optimized diff --git a/test/ThinLTO/X86/alias_internal.ll b/test/ThinLTO/X86/alias_internal.ll index 18ee176b88c..d6433f6981d 100644 --- a/test/ThinLTO/X86/alias_internal.ll +++ b/test/ThinLTO/X86/alias_internal.ll @@ -11,7 +11,7 @@ ; CHECK-DAG: M0_12511626713252727690 -> M0_{{.*}} // alias ; CHECK-DAG: M1_8129049334585965161 -> M1_{{.*}} // alias -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define internal i32 @f(i8*) unnamed_addr { diff --git a/test/ThinLTO/X86/autoupgrade.ll b/test/ThinLTO/X86/autoupgrade.ll index 3d31dd726a1..77f7eb0e0e0 100644 --- a/test/ThinLTO/X86/autoupgrade.ll +++ b/test/ThinLTO/X86/autoupgrade.ll @@ -19,7 +19,7 @@ ; SUMMARYNAMES: ^2 = gv: (name: "globalfunc2", ; SUMMARYNAMES: ^3 = gv: (name: "globalfunc1" -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" define i32 @main() #0 { diff --git a/test/ThinLTO/X86/builtin-nostrip.ll b/test/ThinLTO/X86/builtin-nostrip.ll index 690ae322a26..7dc6504a7e0 100644 --- a/test/ThinLTO/X86/builtin-nostrip.ll +++ b/test/ThinLTO/X86/builtin-nostrip.ll @@ -46,7 +46,7 @@ ; eliminated once the old lto interface is fixed. ; CHECK-NM2-DAG: t __stack_chk_fail -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define void @bar() { diff --git a/test/ThinLTO/X86/cache-config.ll b/test/ThinLTO/X86/cache-config.ll index ccc730d35e5..54328885f55 100644 --- a/test/ThinLTO/X86/cache-config.ll +++ b/test/ThinLTO/X86/cache-config.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define void @globalfunc() { diff --git a/test/ThinLTO/X86/cache-icall.ll b/test/ThinLTO/X86/cache-icall.ll index e3a3c66c1ee..83b740de4d5 100644 --- a/test/ThinLTO/X86/cache-icall.ll +++ b/test/ThinLTO/X86/cache-icall.ll @@ -29,7 +29,7 @@ ; SYMBOLS-YES-DAG: {{FUNC .* f.cfi$}} ; SYMBOLS-YES-DAG: {{NOTYPE .* UND f.cfi$}} -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define i8* @_start(void ()* %p) !type !0 { diff --git a/test/ThinLTO/X86/cache-import-lists.ll b/test/ThinLTO/X86/cache-import-lists.ll index 225f7d8bbe6..ba7b437e8ca 100644 --- a/test/ThinLTO/X86/cache-import-lists.ll +++ b/test/ThinLTO/X86/cache-import-lists.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define void @main() { diff --git a/test/ThinLTO/X86/cache-typeid-resolutions.ll b/test/ThinLTO/X86/cache-typeid-resolutions.ll index 6618a6f280f..e5092dd63ec 100644 --- a/test/ThinLTO/X86/cache-typeid-resolutions.ll +++ b/test/ThinLTO/X86/cache-typeid-resolutions.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @f1 = alias i1(i8*), i1 (i8*)* @f1_actual diff --git a/test/ThinLTO/X86/cache.ll b/test/ThinLTO/X86/cache.ll index c9285f91b25..75e6b7fd6be 100644 --- a/test/ThinLTO/X86/cache.ll +++ b/test/ThinLTO/X86/cache.ll @@ -160,7 +160,7 @@ ; RUN: not ls %t.cache/llvmcache-foo-1024 ; RUN: not ls %t.cache/llvmcache-foo-7 -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" define void @globalfunc() #0 { diff --git a/test/ThinLTO/X86/callees-metadata.ll b/test/ThinLTO/X86/callees-metadata.ll index 3e416dd3deb..457cdb319fa 100644 --- a/test/ThinLTO/X86/callees-metadata.ll +++ b/test/ThinLTO/X86/callees-metadata.ll @@ -10,7 +10,7 @@ ; CHECK: define {{.*}} i32 @f1.llvm.0 ; CHECK: define {{.*}} i32 @f2.llvm.0 -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define dso_local i32 @bar(i32 %x) { diff --git a/test/ThinLTO/X86/cfi-devirt.ll b/test/ThinLTO/X86/cfi-devirt.ll index dd83024e263..760c02a24ea 100644 --- a/test/ThinLTO/X86/cfi-devirt.ll +++ b/test/ThinLTO/X86/cfi-devirt.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-grtev4-linux-gnu" %struct.A = type { i32 (...)** } diff --git a/test/ThinLTO/X86/cfi-distributed.ll b/test/ThinLTO/X86/cfi-distributed.ll index 5959cc72988..53392285154 100644 --- a/test/ThinLTO/X86/cfi-distributed.ll +++ b/test/ThinLTO/X86/cfi-distributed.ll @@ -40,7 +40,7 @@ ; INDEX2: typeid: (name: "_ZTS1A2" ; INDEX2: typeid: (name: "_ZTS1A3" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-grtev4-linux-gnu" %struct.B = type { %struct.A } diff --git a/test/ThinLTO/X86/cfi-icall-only-defuse.ll b/test/ThinLTO/X86/cfi-icall-only-defuse.ll index 1721778d780..842468508f5 100644 --- a/test/ThinLTO/X86/cfi-icall-only-defuse.ll +++ b/test/ThinLTO/X86/cfi-icall-only-defuse.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" declare !type !0 i8 @baz(i8*) diff --git a/test/ThinLTO/X86/cfi-icall.ll b/test/ThinLTO/X86/cfi-icall.ll index 96179e25624..42c26f15893 100644 --- a/test/ThinLTO/X86/cfi-icall.ll +++ b/test/ThinLTO/X86/cfi-icall.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define i1 @foo(i8* %p) !type !0 { diff --git a/test/ThinLTO/X86/cfi.ll b/test/ThinLTO/X86/cfi.ll index e406009743e..0edddb82be9 100644 --- a/test/ThinLTO/X86/cfi.ll +++ b/test/ThinLTO/X86/cfi.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-grtev4-linux-gnu" %struct.B = type { %struct.A } diff --git a/test/ThinLTO/X86/crash_debuginfo.ll b/test/ThinLTO/X86/crash_debuginfo.ll index d0d63f25ee0..31403269b6b 100644 --- a/test/ThinLTO/X86/crash_debuginfo.ll +++ b/test/ThinLTO/X86/crash_debuginfo.ll @@ -11,7 +11,7 @@ ; ModuleID = 'test/ThinLTO/X86/crash_debuginfo.ll' source_filename = "test/ThinLTO/X86/crash_debuginfo.ll" -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.7.0" define void @foo(i32 %arg) { diff --git a/test/ThinLTO/X86/deadstrip.ll b/test/ThinLTO/X86/deadstrip.ll index 9409039f430..2f389c52c5c 100644 --- a/test/ThinLTO/X86/deadstrip.ll +++ b/test/ThinLTO/X86/deadstrip.ll @@ -132,7 +132,7 @@ ; and called from @dead_func. ; CHECK-NM-NOTDEAD: T _baz -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" diff --git a/test/ThinLTO/X86/debuginfo-compositetype-import.ll b/test/ThinLTO/X86/debuginfo-compositetype-import.ll index 578b0ced870..5859875b161 100644 --- a/test/ThinLTO/X86/debuginfo-compositetype-import.ll +++ b/test/ThinLTO/X86/debuginfo-compositetype-import.ll @@ -34,7 +34,7 @@ ; ModuleID = 'debuginfo-compositetype-import.c' source_filename = "debuginfo-compositetype-import.c" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable diff --git a/test/ThinLTO/X86/debuginfo-cu-import.ll b/test/ThinLTO/X86/debuginfo-cu-import.ll index 1f07f96f323..93fd8dc86a3 100644 --- a/test/ThinLTO/X86/debuginfo-cu-import.ll +++ b/test/ThinLTO/X86/debuginfo-cu-import.ll @@ -17,7 +17,7 @@ ; ModuleID = 'debuginfo-cu-import.c' source_filename = "debuginfo-cu-import.c" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define void @foo() !dbg !28 { diff --git a/test/ThinLTO/X86/devirt-after-icp.ll b/test/ThinLTO/X86/devirt-after-icp.ll index af6eba77ba4..8edb8698198 100644 --- a/test/ThinLTO/X86/devirt-after-icp.ll +++ b/test/ThinLTO/X86/devirt-after-icp.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-grtev4-linux-gnu" %class.A = type { i32 (...)** } diff --git a/test/ThinLTO/X86/devirt.ll b/test/ThinLTO/X86/devirt.ll index eae8c69eb06..1bace72eba3 100644 --- a/test/ThinLTO/X86/devirt.ll +++ b/test/ThinLTO/X86/devirt.ll @@ -106,7 +106,7 @@ ; REMARK-DAG: single-impl: devirtualized a call to _ZN1A1nEi ; REMARK-DAG: single-impl: devirtualized a call to _ZN1D1mEi -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-grtev4-linux-gnu" %struct.A = type { i32 (...)** } diff --git a/test/ThinLTO/X86/devirt2.ll b/test/ThinLTO/X86/devirt2.ll index 01eed382f24..9218f97ba17 100644 --- a/test/ThinLTO/X86/devirt2.ll +++ b/test/ThinLTO/X86/devirt2.ll @@ -200,7 +200,7 @@ ; REMARK-DAG: single-impl: devirtualized a call to _ZN1E1mEi ; REMARK-DAG: single-impl: devirtualized a call to _ZN1E1mEi -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-grtev4-linux-gnu" %struct.A = type { i32 (...)** } diff --git a/test/ThinLTO/X86/diagnostic-handler-remarks-with-hotness.ll b/test/ThinLTO/X86/diagnostic-handler-remarks-with-hotness.ll index 94bad9b3ba3..239e6efe3a1 100644 --- a/test/ThinLTO/X86/diagnostic-handler-remarks-with-hotness.ll +++ b/test/ThinLTO/X86/diagnostic-handler-remarks-with-hotness.ll @@ -53,7 +53,7 @@ ; YAML2-NEXT: ... -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" define i32 @bar() { diff --git a/test/ThinLTO/X86/diagnostic-handler-remarks.ll b/test/ThinLTO/X86/diagnostic-handler-remarks.ll index b83e93b7a29..f0ff9542ee1 100644 --- a/test/ThinLTO/X86/diagnostic-handler-remarks.ll +++ b/test/ThinLTO/X86/diagnostic-handler-remarks.ll @@ -52,7 +52,7 @@ ; YAML2-NEXT: ... -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" define i32 @bar() { diff --git a/test/ThinLTO/X86/dicompositetype-unique-alias.ll b/test/ThinLTO/X86/dicompositetype-unique-alias.ll index ff1f40d6ddc..2c4e3ea721d 100644 --- a/test/ThinLTO/X86/dicompositetype-unique-alias.ll +++ b/test/ThinLTO/X86/dicompositetype-unique-alias.ll @@ -20,7 +20,7 @@ ; CHECK: DICompositeType ; CHECK-NOT: DICompositeType -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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] }> diff --git a/test/ThinLTO/X86/dicompositetype-unique.ll b/test/ThinLTO/X86/dicompositetype-unique.ll index dbf14911c45..e61b515d4fd 100644 --- a/test/ThinLTO/X86/dicompositetype-unique.ll +++ b/test/ThinLTO/X86/dicompositetype-unique.ll @@ -8,7 +8,7 @@ ; RUN: llvm-dis %t.1.3.import.bc -o - | FileCheck %s -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" declare void @foo() diff --git a/test/ThinLTO/X86/dicompositetype-unique2.ll b/test/ThinLTO/X86/dicompositetype-unique2.ll index e7ecc97e31f..f275ea1b23e 100644 --- a/test/ThinLTO/X86/dicompositetype-unique2.ll +++ b/test/ThinLTO/X86/dicompositetype-unique2.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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] }> diff --git a/test/ThinLTO/X86/distributed_import.ll b/test/ThinLTO/X86/distributed_import.ll index b65c3be14f7..a67fe20bd9c 100644 --- a/test/ThinLTO/X86/distributed_import.ll +++ b/test/ThinLTO/X86/distributed_import.ll @@ -59,7 +59,7 @@ ; EXPORT: @G.llvm. target triple = "x86_64-unknown-linux-gnu" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" declare i32 @g(...) declare void @analias(...) diff --git a/test/ThinLTO/X86/dot-dumper-full-lto.ll b/test/ThinLTO/X86/dot-dumper-full-lto.ll index d8acfaaf03b..6d4d1efa9a3 100644 --- a/test/ThinLTO/X86/dot-dumper-full-lto.ll +++ b/test/ThinLTO/X86/dot-dumper-full-lto.ll @@ -14,7 +14,7 @@ ; CHECK: // Cross-module edges: ; CHECK: M4294967295_[[ID]] -> M0_{{[0-9]+}}{{.*}}// ref -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @A = external global i32 diff --git a/test/ThinLTO/X86/dot-dumper.ll b/test/ThinLTO/X86/dot-dumper.ll index 92925426d42..d546d90a2ac 100644 --- a/test/ThinLTO/X86/dot-dumper.ll +++ b/test/ThinLTO/X86/dot-dumper.ll @@ -63,7 +63,7 @@ ; COMBINED-NEXT: M0_[[MAIN]] -> M1_[[FOO]] // call (hotness : Unknown) ; COMBINED-NEXT: } -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 diff --git a/test/ThinLTO/X86/dot-dumper2.ll b/test/ThinLTO/X86/dot-dumper2.ll index 1bfa4e0e6e7..8cc9822aed4 100644 --- a/test/ThinLTO/X86/dot-dumper2.ll +++ b/test/ThinLTO/X86/dot-dumper2.ll @@ -31,7 +31,7 @@ ; COMBINED-NEXT: M0_[[MAIN]] -> M1_[[A]] [style=dashed,color=violetred]; // writeOnly-ref ; COMBINED-NEXT: } -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 diff --git a/test/ThinLTO/X86/drop-debug-info.ll b/test/ThinLTO/X86/drop-debug-info.ll index 7bbbb9e5910..a097d6bac98 100644 --- a/test/ThinLTO/X86/drop-debug-info.ll +++ b/test/ThinLTO/X86/drop-debug-info.ll @@ -7,7 +7,7 @@ ; CHECK: define available_externally void @globalfunc ; CHECK-NOT: llvm.dbg.value -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" diff --git a/test/ThinLTO/X86/dsolocal_dllimport.ll b/test/ThinLTO/X86/dsolocal_dllimport.ll index 2c3815a1507..12f097f3949 100644 --- a/test/ThinLTO/X86/dsolocal_dllimport.ll +++ b/test/ThinLTO/X86/dsolocal_dllimport.ll @@ -7,7 +7,7 @@ ; CHECK: declare dso_local void @foo() -target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-windows-msvc19.11.0" define void @bar() { call void @foo() diff --git a/test/ThinLTO/X86/emit_imports.ll b/test/ThinLTO/X86/emit_imports.ll index 42462646541..41dc1482cb0 100644 --- a/test/ThinLTO/X86/emit_imports.ll +++ b/test/ThinLTO/X86/emit_imports.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" declare void @g(...) diff --git a/test/ThinLTO/X86/empty-module.ll b/test/ThinLTO/X86/empty-module.ll index 01e7089415f..285e1bcec2e 100644 --- a/test/ThinLTO/X86/empty-module.ll +++ b/test/ThinLTO/X86/empty-module.ll @@ -8,7 +8,7 @@ ; CHECK: Format: ELF64-x86-64 -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @foo = ifunc i32 (i32), i64 ()* @foo_ifunc diff --git a/test/ThinLTO/X86/empty_module_with_cache.ll b/test/ThinLTO/X86/empty_module_with_cache.ll index 8e58d9f0db9..76fe3e91d20 100644 --- a/test/ThinLTO/X86/empty_module_with_cache.ll +++ b/test/ThinLTO/X86/empty_module_with_cache.ll @@ -31,5 +31,5 @@ ; RUN: ls %t.cache | count 0 -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" diff --git a/test/ThinLTO/X86/export.ll b/test/ThinLTO/X86/export.ll index b0db1e7468f..cb87ddd063e 100644 --- a/test/ThinLTO/X86/export.ll +++ b/test/ThinLTO/X86/export.ll @@ -8,7 +8,7 @@ ; CHECK-DAG: @staticvar.llvm.0 = hidden global ; CHECK-DAG: define hidden void @staticfunc.llvm.0 -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" @staticvar = internal global i32 1, align 4 diff --git a/test/ThinLTO/X86/funcimport-debug.ll b/test/ThinLTO/X86/funcimport-debug.ll index 4e03813b6cf..ca6128a51a9 100644 --- a/test/ThinLTO/X86/funcimport-debug.ll +++ b/test/ThinLTO/X86/funcimport-debug.ll @@ -21,7 +21,7 @@ ; CHECK-DAG: ref -> 7546896869197086323 (baz) ; CHECK-DAG: edge -> 6699318081062747564 (foo) Threshold:100 -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" define i32 @main() #0 { diff --git a/test/ThinLTO/X86/funcimport-tbaa.ll b/test/ThinLTO/X86/funcimport-tbaa.ll index 5334fbecb31..c3dfd7d90b0 100644 --- a/test/ThinLTO/X86/funcimport-tbaa.ll +++ b/test/ThinLTO/X86/funcimport-tbaa.ll @@ -10,7 +10,7 @@ ; RUN: | llvm-dis -o - | FileCheck %s --check-prefix=IMPORTGLOB1 ; IMPORTGLOB1: define available_externally float @globalfunc1 -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" define float @globalfunc1(i32*, float*) { diff --git a/test/ThinLTO/X86/funcimport.ll b/test/ThinLTO/X86/funcimport.ll index cb75d55edf5..fa1bdbf9f11 100644 --- a/test/ThinLTO/X86/funcimport.ll +++ b/test/ThinLTO/X86/funcimport.ll @@ -46,7 +46,7 @@ ; ALL: T _callfuncptr ; ALL2: T _main -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-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 diff --git a/test/ThinLTO/X86/funcimport2.ll b/test/ThinLTO/X86/funcimport2.ll index 9792fbc57e2..15087be6b56 100644 --- a/test/ThinLTO/X86/funcimport2.ll +++ b/test/ThinLTO/X86/funcimport2.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" define void @foo() #0 { diff --git a/test/ThinLTO/X86/function_entry_count.ll b/test/ThinLTO/X86/function_entry_count.ll index 686c85291ea..4ca2ec26a59 100644 --- a/test/ThinLTO/X86/function_entry_count.ll +++ b/test/ThinLTO/X86/function_entry_count.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" declare void @g(); diff --git a/test/ThinLTO/X86/globals-import-blockaddr.ll b/test/ThinLTO/X86/globals-import-blockaddr.ll index 9bbbf76f109..d4ed674030a 100644 --- a/test/ThinLTO/X86/globals-import-blockaddr.ll +++ b/test/ThinLTO/X86/globals-import-blockaddr.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" declare dso_local [1 x i8*]* @foo(); diff --git a/test/ThinLTO/X86/globals-import-const-fold.ll b/test/ThinLTO/X86/globals-import-const-fold.ll index 663b4ee7ebb..a250ed2e92b 100644 --- a/test/ThinLTO/X86/globals-import-const-fold.ll +++ b/test/ThinLTO/X86/globals-import-const-fold.ll @@ -12,7 +12,7 @@ ; OPTIMIZE: define i32 @main() ; OPTIMIZE-NEXT: ret i32 10 -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 diff --git a/test/ThinLTO/X86/globals-import.ll b/test/ThinLTO/X86/globals-import.ll index 0837cafd06f..9fe1ebefe8b 100644 --- a/test/ThinLTO/X86/globals-import.ll +++ b/test/ThinLTO/X86/globals-import.ll @@ -24,7 +24,7 @@ ; PROMOTE2: @baz = internal constant i32 10, align 4 ; PROMOTE2: define available_externally i32 @foo() { -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" declare i32 @foo() diff --git a/test/ThinLTO/X86/import_opaque_type.ll b/test/ThinLTO/X86/import_opaque_type.ll index 0a49116a62a..bfa251abaca 100644 --- a/test/ThinLTO/X86/import_opaque_type.ll +++ b/test/ThinLTO/X86/import_opaque_type.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" ; CHECK: %0 = type { i8 } diff --git a/test/ThinLTO/X86/index-const-prop-O0.ll b/test/ThinLTO/X86/index-const-prop-O0.ll index c1e945010fb..6426d726843 100644 --- a/test/ThinLTO/X86/index-const-prop-O0.ll +++ b/test/ThinLTO/X86/index-const-prop-O0.ll @@ -7,7 +7,7 @@ ; read-only globals ; CHECK: @g = dso_local global i32 42 -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @g = external global i32 diff --git a/test/ThinLTO/X86/index-const-prop-alias.ll b/test/ThinLTO/X86/index-const-prop-alias.ll index bd15b5a6204..592fc9e081a 100644 --- a/test/ThinLTO/X86/index-const-prop-alias.ll +++ b/test/ThinLTO/X86/index-const-prop-alias.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @g.alias = external global i32 diff --git a/test/ThinLTO/X86/index-const-prop-cache.ll b/test/ThinLTO/X86/index-const-prop-cache.ll index 4e45d5e8dbc..62a22af0b1e 100644 --- a/test/ThinLTO/X86/index-const-prop-cache.ll +++ b/test/ThinLTO/X86/index-const-prop-cache.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind ssp uwtable diff --git a/test/ThinLTO/X86/index-const-prop-comdat.ll b/test/ThinLTO/X86/index-const-prop-comdat.ll index 2fdc793b3c2..e05aaf98d7f 100644 --- a/test/ThinLTO/X86/index-const-prop-comdat.ll +++ b/test/ThinLTO/X86/index-const-prop-comdat.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @g = external global i32 diff --git a/test/ThinLTO/X86/index-const-prop-dead.ll b/test/ThinLTO/X86/index-const-prop-dead.ll index 44fc350e909..f3ffca8cbdf 100644 --- a/test/ThinLTO/X86/index-const-prop-dead.ll +++ b/test/ThinLTO/X86/index-const-prop-dead.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @g = external global i32 diff --git a/test/ThinLTO/X86/index-const-prop-full-lto.ll b/test/ThinLTO/X86/index-const-prop-full-lto.ll index f6260c535ed..26fe4d644b7 100644 --- a/test/ThinLTO/X86/index-const-prop-full-lto.ll +++ b/test/ThinLTO/X86/index-const-prop-full-lto.ll @@ -10,7 +10,7 @@ ; We cannot internalize @g ; CHECK: @g = available_externally dso_local global i32 42 -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" declare i32 @foo() diff --git a/test/ThinLTO/X86/index-const-prop-gvref.ll b/test/ThinLTO/X86/index-const-prop-gvref.ll index 972283774b8..87103fee141 100644 --- a/test/ThinLTO/X86/index-const-prop-gvref.ll +++ b/test/ThinLTO/X86/index-const-prop-gvref.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @a = external global i32 diff --git a/test/ThinLTO/X86/index-const-prop-ldst.ll b/test/ThinLTO/X86/index-const-prop-ldst.ll index 3c6d03cb75d..4646557b6cf 100644 --- a/test/ThinLTO/X86/index-const-prop-ldst.ll +++ b/test/ThinLTO/X86/index-const-prop-ldst.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @g = external global i32 diff --git a/test/ThinLTO/X86/index-const-prop-linkage.ll b/test/ThinLTO/X86/index-const-prop-linkage.ll index 2c7c794379f..aac91772111 100644 --- a/test/ThinLTO/X86/index-const-prop-linkage.ll +++ b/test/ThinLTO/X86/index-const-prop-linkage.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" declare i32 @foo() diff --git a/test/ThinLTO/X86/index-const-prop.ll b/test/ThinLTO/X86/index-const-prop.ll index 9718aec8a94..9dac8b81b91 100644 --- a/test/ThinLTO/X86/index-const-prop.ll +++ b/test/ThinLTO/X86/index-const-prop.ll @@ -28,7 +28,7 @@ ; IMPORT2: @gBar = available_externally local_unnamed_addr global i32 2, align 4, !dbg !5 -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @gBar = external global i32 diff --git a/test/ThinLTO/X86/index-const-prop2.ll b/test/ThinLTO/X86/index-const-prop2.ll index 430c7e8156d..a5fbbdf1e92 100644 --- a/test/ThinLTO/X86/index-const-prop2.ll +++ b/test/ThinLTO/X86/index-const-prop2.ll @@ -74,7 +74,7 @@ ; CODEGEN2-SRC-NEXT: %2 = tail call i32 @rand() ; CODEGEN2-SRC-NEXT: ret void -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 diff --git a/test/ThinLTO/X86/internalize.ll b/test/ThinLTO/X86/internalize.ll index edd5abe8ab4..0f7d4a5ca1f 100644 --- a/test/ThinLTO/X86/internalize.ll +++ b/test/ThinLTO/X86/internalize.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" define void @foo() { diff --git a/test/ThinLTO/X86/lazyload_metadata.ll b/test/ThinLTO/X86/lazyload_metadata.ll index d561f02818d..b590ffd417e 100644 --- a/test/ThinLTO/X86/lazyload_metadata.ll +++ b/test/ThinLTO/X86/lazyload_metadata.ll @@ -20,7 +20,7 @@ ; NOTLAZY: 7 bitcode-reader - Number of MDStrings loaded -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" define void @globalfunc1(i32 %arg) { diff --git a/test/ThinLTO/X86/linkonce_aliasee_ref_import.ll b/test/ThinLTO/X86/linkonce_aliasee_ref_import.ll index 2cff8b4b275..9086d9824b7 100644 --- a/test/ThinLTO/X86/linkonce_aliasee_ref_import.ll +++ b/test/ThinLTO/X86/linkonce_aliasee_ref_import.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-grtev4-linux-gnu" $baz.clone = comdat any diff --git a/test/ThinLTO/X86/linkonce_odr_unnamed_addr.ll b/test/ThinLTO/X86/linkonce_odr_unnamed_addr.ll index 8b8e3677cbb..68ba48ebd4f 100644 --- a/test/ThinLTO/X86/linkonce_odr_unnamed_addr.ll +++ b/test/ThinLTO/X86/linkonce_odr_unnamed_addr.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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. diff --git a/test/ThinLTO/X86/linkonce_resolution_comdat.ll b/test/ThinLTO/X86/linkonce_resolution_comdat.ll index 2d8b7e773bb..b61caf28417 100644 --- a/test/ThinLTO/X86/linkonce_resolution_comdat.ll +++ b/test/ThinLTO/X86/linkonce_resolution_comdat.ll @@ -21,7 +21,7 @@ ; and inlined into g() ; NM2-NOT: f -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" $c1 = comdat any diff --git a/test/ThinLTO/X86/llvm.used.ll b/test/ThinLTO/X86/llvm.used.ll index 266ab2beb3b..4b379f72c25 100644 --- a/test/ThinLTO/X86/llvm.used.ll +++ b/test/ThinLTO/X86/llvm.used.ll @@ -8,7 +8,7 @@ ; CHECK: define available_externally void @globalfunc -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" diff --git a/test/ThinLTO/X86/load-store-caching.ll b/test/ThinLTO/X86/load-store-caching.ll index cb3a5c0d54d..9ca9c40fd11 100644 --- a/test/ThinLTO/X86/load-store-caching.ll +++ b/test/ThinLTO/X86/load-store-caching.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.S = type { %struct.Derived* } diff --git a/test/ThinLTO/X86/local_name_conflict.ll b/test/ThinLTO/X86/local_name_conflict.ll index 9e5e79b6ae2..1912297cede 100644 --- a/test/ThinLTO/X86/local_name_conflict.ll +++ b/test/ThinLTO/X86/local_name_conflict.ll @@ -28,7 +28,7 @@ ; ModuleID = 'local_name_conflict_main.o' source_filename = "local_name_conflict_main.c" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: noinline nounwind uwtable diff --git a/test/ThinLTO/X86/local_name_conflict_var.ll b/test/ThinLTO/X86/local_name_conflict_var.ll index ed5c6e4fd4f..d203fe08e2c 100644 --- a/test/ThinLTO/X86/local_name_conflict_var.ll +++ b/test/ThinLTO/X86/local_name_conflict_var.ll @@ -17,7 +17,7 @@ ; ModuleID = 'local_name_conflict_var_main.o' source_filename = "local_name_conflict_var_main.c" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: noinline nounwind uwtable diff --git a/test/ThinLTO/X86/merge-triple.ll b/test/ThinLTO/X86/merge-triple.ll index 6c5eac6cfb2..11ab50236fe 100644 --- a/test/ThinLTO/X86/merge-triple.ll +++ b/test/ThinLTO/X86/merge-triple.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-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" diff --git a/test/ThinLTO/X86/module_asm2.ll b/test/ThinLTO/X86/module_asm2.ll index 3f0033849f9..b6e2f23509e 100644 --- a/test/ThinLTO/X86/module_asm2.ll +++ b/test/ThinLTO/X86/module_asm2.ll @@ -64,7 +64,7 @@ ; NM1-NOT: b ; NM1-NOT: x -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @b = internal global i32 1, align 4 diff --git a/test/ThinLTO/X86/module_asm_glob.ll b/test/ThinLTO/X86/module_asm_glob.ll index 45b6113cb24..3ce4816c9d6 100644 --- a/test/ThinLTO/X86/module_asm_glob.ll +++ b/test/ThinLTO/X86/module_asm_glob.ll @@ -17,7 +17,7 @@ ; NM0: T foo ; NM1-NOT: foo -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" module asm "\09.text" diff --git a/test/ThinLTO/X86/module_summary_graph_traits.ll b/test/ThinLTO/X86/module_summary_graph_traits.ll index b6a64954650..d2f1dfbf7b6 100644 --- a/test/ThinLTO/X86/module_summary_graph_traits.ll +++ b/test/ThinLTO/X86/module_summary_graph_traits.ll @@ -31,7 +31,7 @@ ; CHECK-NEXT: {{^}} 0{{$}} ; CHECK-NEXT: } -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" declare void @external() diff --git a/test/ThinLTO/X86/newpm-basic.ll b/test/ThinLTO/X86/newpm-basic.ll index 860aa4c0158..bfcc60c6807 100644 --- a/test/ThinLTO/X86/newpm-basic.ll +++ b/test/ThinLTO/X86/newpm-basic.ll @@ -3,7 +3,7 @@ ; RUN: -r=%t1.bc,_tinkywinky,pxl \ ; RUN: -use-new-pm -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" define void @tinkywinky() { diff --git a/test/ThinLTO/X86/nodevirt-nonpromoted-typeid.ll b/test/ThinLTO/X86/nodevirt-nonpromoted-typeid.ll index 611a424143a..9ef408a237d 100644 --- a/test/ThinLTO/X86/nodevirt-nonpromoted-typeid.ll +++ b/test/ThinLTO/X86/nodevirt-nonpromoted-typeid.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-grtev4-linux-gnu" %struct.D = type { i32 (...)** } diff --git a/test/ThinLTO/X86/noinline.ll b/test/ThinLTO/X86/noinline.ll index 74461853efa..27f59ab9096 100644 --- a/test/ThinLTO/X86/noinline.ll +++ b/test/ThinLTO/X86/noinline.ll @@ -12,7 +12,7 @@ ; CHECK-NOT: define available_externally i32 @foo -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: nounwind ssp uwtable diff --git a/test/ThinLTO/X86/personality-local.ll b/test/ThinLTO/X86/personality-local.ll index af88d2922a4..8aa75efaad6 100644 --- a/test/ThinLTO/X86/personality-local.ll +++ b/test/ThinLTO/X86/personality-local.ll @@ -18,7 +18,7 @@ ; CHECK-NEXT: Section: .text ; CHECK-NEXT: } -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" declare void @foo() diff --git a/test/ThinLTO/X86/personality.ll b/test/ThinLTO/X86/personality.ll index bf773a8ae9b..edf91057c1a 100644 --- a/test/ThinLTO/X86/personality.ll +++ b/test/ThinLTO/X86/personality.ll @@ -42,7 +42,7 @@ ; BINDING-NOT: Name: personality_routine3 -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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*) diff --git a/test/ThinLTO/X86/pr35472.ll b/test/ThinLTO/X86/pr35472.ll index 324cb735e52..96a95aa4636 100644 --- a/test/ThinLTO/X86/pr35472.ll +++ b/test/ThinLTO/X86/pr35472.ll @@ -13,7 +13,7 @@ ; ThinLTOa-DAG: W _ZN4EchoD2Ev ; ThinLTOb-DAG: T _Z5Alphav -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.Delta = type { %struct.Charlie } diff --git a/test/ThinLTO/X86/reference_non_importable.ll b/test/ThinLTO/X86/reference_non_importable.ll index a488b2432f7..51e6f38c38b 100644 --- a/test/ThinLTO/X86/reference_non_importable.ll +++ b/test/ThinLTO/X86/reference_non_importable.ll @@ -10,7 +10,7 @@ -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-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 diff --git a/test/ThinLTO/X86/referenced_by_constant.ll b/test/ThinLTO/X86/referenced_by_constant.ll index b352cbb2ea4..ac72edd5970 100644 --- a/test/ThinLTO/X86/referenced_by_constant.ll +++ b/test/ThinLTO/X86/referenced_by_constant.ll @@ -21,7 +21,7 @@ ; EXPORT: define void @referencedbyglobal() ; EXPORT: define internal void @localreferencedbyglobal() -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" declare void @bar() diff --git a/test/ThinLTO/X86/save_objects.ll b/test/ThinLTO/X86/save_objects.ll index 11b7e9da9ff..b9a9c983f83 100644 --- a/test/ThinLTO/X86/save_objects.ll +++ b/test/ThinLTO/X86/save_objects.ll @@ -24,7 +24,7 @@ ; RUN: ls %t.thin.out | grep x86_64.thinlto.o | count 2 -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" define void @globalfunc() #0 { diff --git a/test/ThinLTO/X86/strong_non_prevailing.ll b/test/ThinLTO/X86/strong_non_prevailing.ll index 4fd72cf3f05..214af649fcf 100644 --- a/test/ThinLTO/X86/strong_non_prevailing.ll +++ b/test/ThinLTO/X86/strong_non_prevailing.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" $__llvm_profile_filename = comdat any diff --git a/test/ThinLTO/X86/thinlto-internalize-used.ll b/test/ThinLTO/X86/thinlto-internalize-used.ll index e0a2eb7b3d3..065f64ec09a 100644 --- a/test/ThinLTO/X86/thinlto-internalize-used.ll +++ b/test/ThinLTO/X86/thinlto-internalize-used.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-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" diff --git a/test/ThinLTO/X86/tli-nobuiltin.ll b/test/ThinLTO/X86/tli-nobuiltin.ll index bf9cf907aec..9a480cba115 100644 --- a/test/ThinLTO/X86/tli-nobuiltin.ll +++ b/test/ThinLTO/X86/tli-nobuiltin.ll @@ -25,7 +25,7 @@ ; ThinLTO-FREESTANDING: fprintf -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" declare i32 @fprintf(%FILE*, i8*, ...) diff --git a/test/ThinLTO/X86/weak_externals.ll b/test/ThinLTO/X86/weak_externals.ll index d5429b7234b..a07b431e936 100644 --- a/test/ThinLTO/X86/weak_externals.ll +++ b/test/ThinLTO/X86/weak_externals.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.S = type { i64, i64 } diff --git a/test/ThinLTO/X86/weak_resolution.ll b/test/ThinLTO/X86/weak_resolution.ll index b9f10afd6d6..e39e4228529 100644 --- a/test/ThinLTO/X86/weak_resolution.ll +++ b/test/ThinLTO/X86/weak_resolution.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-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" diff --git a/test/ThinLTO/X86/writeonly.ll b/test/ThinLTO/X86/writeonly.ll index 20f4533efe6..7c2af6d9cce 100644 --- a/test/ThinLTO/X86/writeonly.ll +++ b/test/ThinLTO/X86/writeonly.ll @@ -25,7 +25,7 @@ ; OPTIMIZE-NEXT: %2 = tail call i32 @rand() ; OPTIMIZE-NEXT: ret i32 0 -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @gBar = external global i32 diff --git a/test/ThinLTO/X86/writeonly2.ll b/test/ThinLTO/X86/writeonly2.ll index a7383f25b48..b1e53ba47b5 100644 --- a/test/ThinLTO/X86/writeonly2.ll +++ b/test/ThinLTO/X86/writeonly2.ll @@ -37,7 +37,7 @@ ; CODEGEN-SRC-NEXT: %2 = tail call i32 @rand() ; CODEGEN-SRC-NEXT: ret void -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 diff --git a/test/Transforms/FunctionImport/Inputs/comdat.ll b/test/Transforms/FunctionImport/Inputs/comdat.ll index 3eac3e31908..1df6f25351e 100644 --- a/test/Transforms/FunctionImport/Inputs/comdat.ll +++ b/test/Transforms/FunctionImport/Inputs/comdat.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-windows-msvc19.0.24215" define void @main() { diff --git a/test/Transforms/FunctionImport/Inputs/funcimport_debug.ll b/test/Transforms/FunctionImport/Inputs/funcimport_debug.ll index 75ecf71c495..f553af41896 100644 --- a/test/Transforms/FunctionImport/Inputs/funcimport_debug.ll +++ b/test/Transforms/FunctionImport/Inputs/funcimport_debug.ll @@ -1,5 +1,5 @@ ; ModuleID = 'funcimport_debug.o' -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable diff --git a/test/Transforms/FunctionImport/Inputs/funcimport_resolved1.ll b/test/Transforms/FunctionImport/Inputs/funcimport_resolved1.ll index a2ea145f2b4..2b2443c96af 100644 --- a/test/Transforms/FunctionImport/Inputs/funcimport_resolved1.ll +++ b/test/Transforms/FunctionImport/Inputs/funcimport_resolved1.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" define void @foo() { diff --git a/test/Transforms/FunctionImport/Inputs/funcimport_resolved2.ll b/test/Transforms/FunctionImport/Inputs/funcimport_resolved2.ll index 78da8b5994d..278a7f4553f 100644 --- a/test/Transforms/FunctionImport/Inputs/funcimport_resolved2.ll +++ b/test/Transforms/FunctionImport/Inputs/funcimport_resolved2.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" define linkonce_odr void @linkonceodrfunc() { diff --git a/test/Transforms/FunctionImport/Inputs/funcimport_var2.ll b/test/Transforms/FunctionImport/Inputs/funcimport_var2.ll index 5a6240aa444..95abe658e34 100644 --- a/test/Transforms/FunctionImport/Inputs/funcimport_var2.ll +++ b/test/Transforms/FunctionImport/Inputs/funcimport_var2.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @link = internal global i32 0, align 4 diff --git a/test/Transforms/FunctionImport/Inputs/hotness_based_import.ll b/test/Transforms/FunctionImport/Inputs/hotness_based_import.ll index 3ee74a25eb0..6951b65818d 100644 --- a/test/Transforms/FunctionImport/Inputs/hotness_based_import.ll +++ b/test/Transforms/FunctionImport/Inputs/hotness_based_import.ll @@ -1,5 +1,5 @@ ; ModuleID = 'thinlto-function-summary-callgraph-profile-summary2.ll' -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/test/Transforms/FunctionImport/Inputs/import_stats.ll b/test/Transforms/FunctionImport/Inputs/import_stats.ll index 413f6cea517..818fbf20d6f 100644 --- a/test/Transforms/FunctionImport/Inputs/import_stats.ll +++ b/test/Transforms/FunctionImport/Inputs/import_stats.ll @@ -1,5 +1,5 @@ ; ModuleID = 'import_stats2.ll' -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @globalvar = global i32 1, align 4 diff --git a/test/Transforms/FunctionImport/Inputs/not-prevailing.ll b/test/Transforms/FunctionImport/Inputs/not-prevailing.ll index a3f1f070ff9..ca17d7f377c 100644 --- a/test/Transforms/FunctionImport/Inputs/not-prevailing.ll +++ b/test/Transforms/FunctionImport/Inputs/not-prevailing.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define weak i32 @foo() { diff --git a/test/Transforms/FunctionImport/comdat.ll b/test/Transforms/FunctionImport/comdat.ll index 5e6643f642e..29e8cb538ab 100644 --- a/test/Transforms/FunctionImport/comdat.ll +++ b/test/Transforms/FunctionImport/comdat.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:w-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 diff --git a/test/Transforms/FunctionImport/funcimport_debug.ll b/test/Transforms/FunctionImport/funcimport_debug.ll index d888ef4ad7b..e764d78c300 100644 --- a/test/Transforms/FunctionImport/funcimport_debug.ll +++ b/test/Transforms/FunctionImport/funcimport_debug.ll @@ -20,7 +20,7 @@ ; CHECK-NOT: distinct !DISubprogram ; ModuleID = 'funcimport_debug.o' -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable diff --git a/test/Transforms/FunctionImport/funcimport_resolved.ll b/test/Transforms/FunctionImport/funcimport_resolved.ll index 2a06be4db7a..b256a613602 100644 --- a/test/Transforms/FunctionImport/funcimport_resolved.ll +++ b/test/Transforms/FunctionImport/funcimport_resolved.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" define i32 @main() #0 { diff --git a/test/Transforms/FunctionImport/funcimport_var.ll b/test/Transforms/FunctionImport/funcimport_var.ll index 0ed6442424f..edd874e6297 100644 --- a/test/Transforms/FunctionImport/funcimport_var.ll +++ b/test/Transforms/FunctionImport/funcimport_var.ll @@ -15,7 +15,7 @@ ; REQUIRES: x86-registered-target -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define i32 @_Z4LinkPKcS0_(i8*, i8*) local_unnamed_addr { diff --git a/test/Transforms/FunctionImport/hotness_based_import.ll b/test/Transforms/FunctionImport/hotness_based_import.ll index bd90360dcd1..9de8714072d 100644 --- a/test/Transforms/FunctionImport/hotness_based_import.ll +++ b/test/Transforms/FunctionImport/hotness_based_import.ll @@ -74,7 +74,7 @@ ; ModuleID = 'thinlto-function-summary-callgraph.ll' -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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. diff --git a/test/Transforms/FunctionImport/import_stats.ll b/test/Transforms/FunctionImport/import_stats.ll index 50d2167c6a5..2cb415d1e96 100644 --- a/test/Transforms/FunctionImport/import_stats.ll +++ b/test/Transforms/FunctionImport/import_stats.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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. diff --git a/test/Transforms/FunctionImport/not-prevailing.ll b/test/Transforms/FunctionImport/not-prevailing.ll index 0e0dd53950a..4412715e043 100644 --- a/test/Transforms/FunctionImport/not-prevailing.ll +++ b/test/Transforms/FunctionImport/not-prevailing.ll @@ -5,7 +5,7 @@ ; CHECK: Interposable and available_externally/linkonce_odr/weak_odr symbol -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define available_externally i32 @foo() { diff --git a/test/Transforms/PGOProfile/Inputs/thinlto_cspgo_bar_gen.ll b/test/Transforms/PGOProfile/Inputs/thinlto_cspgo_bar_gen.ll index 42c645db7cd..bec04c6a3c8 100644 --- a/test/Transforms/PGOProfile/Inputs/thinlto_cspgo_bar_gen.ll +++ b/test/Transforms/PGOProfile/Inputs/thinlto_cspgo_bar_gen.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" $__llvm_profile_filename = comdat any diff --git a/test/Transforms/PGOProfile/Inputs/thinlto_cspgo_bar_use.ll b/test/Transforms/PGOProfile/Inputs/thinlto_cspgo_bar_use.ll index ed1765f00b3..01617221590 100644 --- a/test/Transforms/PGOProfile/Inputs/thinlto_cspgo_bar_use.ll +++ b/test/Transforms/PGOProfile/Inputs/thinlto_cspgo_bar_use.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 diff --git a/test/Transforms/PGOProfile/Inputs/thinlto_indirect_call_promotion.ll b/test/Transforms/PGOProfile/Inputs/thinlto_indirect_call_promotion.ll index 7412120bb52..8732e540767 100644 --- a/test/Transforms/PGOProfile/Inputs/thinlto_indirect_call_promotion.ll +++ b/test/Transforms/PGOProfile/Inputs/thinlto_indirect_call_promotion.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" source_filename = "thinlto_indirect_call_promotion.c" diff --git a/test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp.ll b/test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp.ll index 709c950ce17..22860f52b5d 100644 --- a/test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp.ll +++ b/test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 diff --git a/test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp2a.ll b/test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp2a.ll index fc3cc935c67..545b36c1180 100644 --- a/test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp2a.ll +++ b/test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp2a.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: norecurse nounwind readnone uwtable diff --git a/test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp2b.ll b/test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp2b.ll index 67e091c7f11..f8de10c4d0d 100644 --- a/test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp2b.ll +++ b/test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp2b.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define void @_ZL3barv() #1 { diff --git a/test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp3.ll b/test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp3.ll index d040f1fcee9..10d633be59f 100644 --- a/test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp3.ll +++ b/test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp3.ll @@ -1,4 +1,4 @@ -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 diff --git a/test/Transforms/PGOProfile/X86/macho.ll b/test/Transforms/PGOProfile/X86/macho.ll index 1dcfbbe44ec..d2fe65f2fa7 100644 --- a/test/Transforms/PGOProfile/X86/macho.ll +++ b/test/Transforms/PGOProfile/X86/macho.ll @@ -1,6 +1,6 @@ ; RUN: opt < %s -pgo-instr-gen -instrprof -S | llc | FileCheck %s --check-prefix=MACHO-DIRECTIVE -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-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 diff --git a/test/Transforms/PGOProfile/branch1.ll b/test/Transforms/PGOProfile/branch1.ll index e3eb992286c..bbc7b722913 100644 --- a/test/Transforms/PGOProfile/branch1.ll +++ b/test/Transforms/PGOProfile/branch1.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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" diff --git a/test/Transforms/PGOProfile/branch2.ll b/test/Transforms/PGOProfile/branch2.ll index 4582ab7f725..f8df54b94d4 100644 --- a/test/Transforms/PGOProfile/branch2.ll +++ b/test/Transforms/PGOProfile/branch2.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; GEN: $__llvm_profile_raw_version = comdat any diff --git a/test/Transforms/PGOProfile/comdat_internal.ll b/test/Transforms/PGOProfile/comdat_internal.ll index e88c61a27e5..74630179105 100644 --- a/test/Transforms/PGOProfile/comdat_internal.ll +++ b/test/Transforms/PGOProfile/comdat_internal.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" $foo = comdat any diff --git a/test/Transforms/PGOProfile/criticaledge.ll b/test/Transforms/PGOProfile/criticaledge.ll index 93798b56358..4b2ea6becfe 100644 --- a/test/Transforms/PGOProfile/criticaledge.ll +++ b/test/Transforms/PGOProfile/criticaledge.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; GEN: $__llvm_profile_raw_version = comdat any diff --git a/test/Transforms/PGOProfile/cspgo_profile_summary.ll b/test/Transforms/PGOProfile/cspgo_profile_summary.ll index b3098336f5e..ad977658f89 100644 --- a/test/Transforms/PGOProfile/cspgo_profile_summary.ll +++ b/test/Transforms/PGOProfile/cspgo_profile_summary.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 diff --git a/test/Transforms/PGOProfile/diag_FE_profile.ll b/test/Transforms/PGOProfile/diag_FE_profile.ll index e5f58ff135f..cd33954284f 100644 --- a/test/Transforms/PGOProfile/diag_FE_profile.ll +++ b/test/Transforms/PGOProfile/diag_FE_profile.ll @@ -4,7 +4,7 @@ ; CHECK: Not an IR level instrumentation profile -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define i32 @foo() { diff --git a/test/Transforms/PGOProfile/diag_mismatch.ll b/test/Transforms/PGOProfile/diag_mismatch.ll index c1f6c6d5980..e2b7f8cdcc5 100644 --- a/test/Transforms/PGOProfile/diag_mismatch.ll +++ b/test/Transforms/PGOProfile/diag_mismatch.ll @@ -4,7 +4,7 @@ ; CHECK: Function control flow change detected (hash mismatch) foo -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define i32 @foo() { diff --git a/test/Transforms/PGOProfile/diag_no_funcprofdata.ll b/test/Transforms/PGOProfile/diag_no_funcprofdata.ll index 88133e2178c..61c1f7ab6d1 100644 --- a/test/Transforms/PGOProfile/diag_no_funcprofdata.ll +++ b/test/Transforms/PGOProfile/diag_no_funcprofdata.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define i32 @bar() { diff --git a/test/Transforms/PGOProfile/diag_no_profile.ll b/test/Transforms/PGOProfile/diag_no_profile.ll index 7a60dc9c164..222d9bd0986 100644 --- a/test/Transforms/PGOProfile/diag_no_profile.ll +++ b/test/Transforms/PGOProfile/diag_no_profile.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define i32 @foo() { diff --git a/test/Transforms/PGOProfile/diag_no_value_sites.ll b/test/Transforms/PGOProfile/diag_no_value_sites.ll index d5cf2abea11..251e5ce7d9f 100644 --- a/test/Transforms/PGOProfile/diag_no_value_sites.ll +++ b/test/Transforms/PGOProfile/diag_no_value_sites.ll @@ -3,7 +3,7 @@ ; CHECK: Inconsistent number of value sites for memory intrinsic functions size profiling -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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) { diff --git a/test/Transforms/PGOProfile/do-not-instrument.ll b/test/Transforms/PGOProfile/do-not-instrument.ll index ca950a621e8..616e9427375 100644 --- a/test/Transforms/PGOProfile/do-not-instrument.ll +++ b/test/Transforms/PGOProfile/do-not-instrument.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.12.0" define i32 @f1() { diff --git a/test/Transforms/PGOProfile/func_entry.ll b/test/Transforms/PGOProfile/func_entry.ll index 37fad27f2f2..dac996e35cb 100644 --- a/test/Transforms/PGOProfile/func_entry.ll +++ b/test/Transforms/PGOProfile/func_entry.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 diff --git a/test/Transforms/PGOProfile/icp_covariant_call_return.ll b/test/Transforms/PGOProfile/icp_covariant_call_return.ll index c2101a98d0d..aba075461de 100644 --- a/test/Transforms/PGOProfile/icp_covariant_call_return.ll +++ b/test/Transforms/PGOProfile/icp_covariant_call_return.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.D = type { %struct.B } diff --git a/test/Transforms/PGOProfile/icp_covariant_invoke_return.ll b/test/Transforms/PGOProfile/icp_covariant_invoke_return.ll index d0f27ac73e7..0a4444783eb 100644 --- a/test/Transforms/PGOProfile/icp_covariant_invoke_return.ll +++ b/test/Transforms/PGOProfile/icp_covariant_invoke_return.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 (...)** } diff --git a/test/Transforms/PGOProfile/icp_invoke.ll b/test/Transforms/PGOProfile/icp_invoke.ll index c30aeb6e7df..1cacc1bc1ac 100644 --- a/test/Transforms/PGOProfile/icp_invoke.ll +++ b/test/Transforms/PGOProfile/icp_invoke.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @foo1 = global void ()* null, align 8 diff --git a/test/Transforms/PGOProfile/icp_invoke_nouse.ll b/test/Transforms/PGOProfile/icp_invoke_nouse.ll index 55eb8588168..096d2e0f222 100644 --- a/test/Transforms/PGOProfile/icp_invoke_nouse.ll +++ b/test/Transforms/PGOProfile/icp_invoke_nouse.ll @@ -1,5 +1,5 @@ ; RUN: opt < %s -icp-lto -pgo-icall-prom -S | FileCheck %s --check-prefix=ICP -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @_ZTISt9exception = external constant i8* diff --git a/test/Transforms/PGOProfile/icp_mismatch_msg.ll b/test/Transforms/PGOProfile/icp_mismatch_msg.ll index 8a606e3233d..5484d221a35 100644 --- a/test/Transforms/PGOProfile/icp_mismatch_msg.ll +++ b/test/Transforms/PGOProfile/icp_mismatch_msg.ll @@ -5,7 +5,7 @@ ; CHECK: remark: :0:0: Cannot promote indirect call: target with md5sum{{.*}} not found ; CHECK: remark: :0:0: Cannot promote indirect call to func2 with count of 7890: Return type mismatch -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @foo = common global i32 ()* null, align 8 diff --git a/test/Transforms/PGOProfile/icp_vararg.ll b/test/Transforms/PGOProfile/icp_vararg.ll index ba803cf85c7..ec243470290 100644 --- a/test/Transforms/PGOProfile/icp_vararg.ll +++ b/test/Transforms/PGOProfile/icp_vararg.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @foo = common global i32 (i32, ...)* null, align 8 diff --git a/test/Transforms/PGOProfile/indirect_call_annotation.ll b/test/Transforms/PGOProfile/indirect_call_annotation.ll index 7842df37e73..6f72a998784 100644 --- a/test/Transforms/PGOProfile/indirect_call_annotation.ll +++ b/test/Transforms/PGOProfile/indirect_call_annotation.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @foo = common global i32 (i32)* null, align 8 diff --git a/test/Transforms/PGOProfile/indirect_call_profile.ll b/test/Transforms/PGOProfile/indirect_call_profile.ll index a3c05e5b470..e1f499c08a7 100644 --- a/test/Transforms/PGOProfile/indirect_call_profile.ll +++ b/test/Transforms/PGOProfile/indirect_call_profile.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" $foo3 = comdat any diff --git a/test/Transforms/PGOProfile/indirect_call_promotion.ll b/test/Transforms/PGOProfile/indirect_call_promotion.ll index 6a9b6521199..85df5260f19 100644 --- a/test/Transforms/PGOProfile/indirect_call_promotion.ll +++ b/test/Transforms/PGOProfile/indirect_call_promotion.ll @@ -15,7 +15,7 @@ ; PASS2-REMARK-NOT: remark: :0:0: Promote indirect call to func3 ; PASS2-REMARK-NOT: remark: :0:0: Promote indirect call to func1 -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @foo = common global i32 ()* null, align 8 diff --git a/test/Transforms/PGOProfile/indirect_call_promotion_vla.ll b/test/Transforms/PGOProfile/indirect_call_promotion_vla.ll index 6a815275e4c..0065031d147 100644 --- a/test/Transforms/PGOProfile/indirect_call_promotion_vla.ll +++ b/test/Transforms/PGOProfile/indirect_call_promotion_vla.ll @@ -1,6 +1,6 @@ ; RUN: opt < %s -pgo-icall-prom -S | FileCheck %s -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.A = type { i8 } diff --git a/test/Transforms/PGOProfile/indirectbr.ll b/test/Transforms/PGOProfile/indirectbr.ll index 8c961adbf6f..ce7261d39a9 100644 --- a/test/Transforms/PGOProfile/indirectbr.ll +++ b/test/Transforms/PGOProfile/indirectbr.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 diff --git a/test/Transforms/PGOProfile/landingpad.ll b/test/Transforms/PGOProfile/landingpad.ll index 932d2299bbf..3a1a3eb57b0 100644 --- a/test/Transforms/PGOProfile/landingpad.ll +++ b/test/Transforms/PGOProfile/landingpad.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @val = global i32 0, align 4 diff --git a/test/Transforms/PGOProfile/large_count_remarks.ll b/test/Transforms/PGOProfile/large_count_remarks.ll index 65ab2db7216..15088c39663 100644 --- a/test/Transforms/PGOProfile/large_count_remarks.ll +++ b/test/Transforms/PGOProfile/large_count_remarks.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define i32 @test(i32 %i) { diff --git a/test/Transforms/PGOProfile/loop1.ll b/test/Transforms/PGOProfile/loop1.ll index dbc29547b3c..dbc728a49bb 100644 --- a/test/Transforms/PGOProfile/loop1.ll +++ b/test/Transforms/PGOProfile/loop1.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; GEN: $__llvm_profile_raw_version = comdat any diff --git a/test/Transforms/PGOProfile/loop2.ll b/test/Transforms/PGOProfile/loop2.ll index 1334dd26156..5a86f0299ad 100644 --- a/test/Transforms/PGOProfile/loop2.ll +++ b/test/Transforms/PGOProfile/loop2.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; GEN: $__llvm_profile_raw_version = comdat any diff --git a/test/Transforms/PGOProfile/memcpy.ll b/test/Transforms/PGOProfile/memcpy.ll index 6047c95e7c0..0a6c44b4374 100644 --- a/test/Transforms/PGOProfile/memcpy.ll +++ b/test/Transforms/PGOProfile/memcpy.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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) { diff --git a/test/Transforms/PGOProfile/memop_size_annotation.ll b/test/Transforms/PGOProfile/memop_size_annotation.ll index a59988462ae..4310d8ec9de 100644 --- a/test/Transforms/PGOProfile/memop_size_annotation.ll +++ b/test/Transforms/PGOProfile/memop_size_annotation.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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) { diff --git a/test/Transforms/PGOProfile/memop_size_opt.ll b/test/Transforms/PGOProfile/memop_size_opt.ll index 8d6215cf925..69cdd81ddf7 100644 --- a/test/Transforms/PGOProfile/memop_size_opt.ll +++ b/test/Transforms/PGOProfile/memop_size_opt.ll @@ -6,7 +6,7 @@ ; RUN: FileCheck %s -input-file=%t.opt.yaml --check-prefix=YAML -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 { diff --git a/test/Transforms/PGOProfile/memop_size_opt_zero.ll b/test/Transforms/PGOProfile/memop_size_opt_zero.ll index e46cadf412e..43ca710534e 100644 --- a/test/Transforms/PGOProfile/memop_size_opt_zero.ll +++ b/test/Transforms/PGOProfile/memop_size_opt_zero.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 { diff --git a/test/Transforms/PGOProfile/multiple_hash_profile.ll b/test/Transforms/PGOProfile/multiple_hash_profile.ll index fdfb16b9e2e..6da94826a95 100644 --- a/test/Transforms/PGOProfile/multiple_hash_profile.ll +++ b/test/Transforms/PGOProfile/multiple_hash_profile.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" $_Z3fooi = comdat any diff --git a/test/Transforms/PGOProfile/noreturncall.ll b/test/Transforms/PGOProfile/noreturncall.ll index 4470285e1ed..c108a82abf0 100644 --- a/test/Transforms/PGOProfile/noreturncall.ll +++ b/test/Transforms/PGOProfile/noreturncall.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" declare i32 @bar0(i32) diff --git a/test/Transforms/PGOProfile/preinline.ll b/test/Transforms/PGOProfile/preinline.ll index 9a42e97d196..277baf99c33 100644 --- a/test/Transforms/PGOProfile/preinline.ll +++ b/test/Transforms/PGOProfile/preinline.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define i32 @foo(i32 %i) { diff --git a/test/Transforms/PGOProfile/remap.ll b/test/Transforms/PGOProfile/remap.ll index e84c3c40f83..2fdca9e33d1 100644 --- a/test/Transforms/PGOProfile/remap.ll +++ b/test/Transforms/PGOProfile/remap.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define i32 @_ZN3foo3barERKN1M1XINS_6detail3quxEEE(i32 %i) { diff --git a/test/Transforms/PGOProfile/select1.ll b/test/Transforms/PGOProfile/select1.ll index 47d83c84aa0..34e30a23ab0 100644 --- a/test/Transforms/PGOProfile/select1.ll +++ b/test/Transforms/PGOProfile/select1.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define i32 @test_br_2(i32 %i) { diff --git a/test/Transforms/PGOProfile/select2.ll b/test/Transforms/PGOProfile/select2.ll index e95d00b248f..b19fa1ff798 100644 --- a/test/Transforms/PGOProfile/select2.ll +++ b/test/Transforms/PGOProfile/select2.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define i32 @foo(i32 %n) { diff --git a/test/Transforms/PGOProfile/select_hash_conflict.ll b/test/Transforms/PGOProfile/select_hash_conflict.ll index ab91db48c0f..e7c3cdb2184 100644 --- a/test/Transforms/PGOProfile/select_hash_conflict.ll +++ b/test/Transforms/PGOProfile/select_hash_conflict.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 diff --git a/test/Transforms/PGOProfile/single_bb.ll b/test/Transforms/PGOProfile/single_bb.ll index 646f798a6ff..874d8e4d22d 100644 --- a/test/Transforms/PGOProfile/single_bb.ll +++ b/test/Transforms/PGOProfile/single_bb.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; GEN: $__llvm_profile_raw_version = comdat any diff --git a/test/Transforms/PGOProfile/statics_counter_naming.ll b/test/Transforms/PGOProfile/statics_counter_naming.ll index dc15151f350..c329ddba930 100644 --- a/test/Transforms/PGOProfile/statics_counter_naming.ll +++ b/test/Transforms/PGOProfile/statics_counter_naming.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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" diff --git a/test/Transforms/PGOProfile/switch.ll b/test/Transforms/PGOProfile/switch.ll index 2cefd34d855..e590e217013 100644 --- a/test/Transforms/PGOProfile/switch.ll +++ b/test/Transforms/PGOProfile/switch.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; GEN: $__llvm_profile_raw_version = comdat any diff --git a/test/Transforms/PGOProfile/thinlto_cspgo_gen.ll b/test/Transforms/PGOProfile/thinlto_cspgo_gen.ll index 1a213e8211c..1f6264378b8 100644 --- a/test/Transforms/PGOProfile/thinlto_cspgo_gen.ll +++ b/test/Transforms/PGOProfile/thinlto_cspgo_gen.ll @@ -19,7 +19,7 @@ ; CSGEN: @__profd_ source_filename = "cspgo.c" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" $__llvm_profile_filename = comdat any diff --git a/test/Transforms/PGOProfile/thinlto_cspgo_use.ll b/test/Transforms/PGOProfile/thinlto_cspgo_use.ll index 1be8de4c084..6a8b034315d 100644 --- a/test/Transforms/PGOProfile/thinlto_cspgo_use.ll +++ b/test/Transforms/PGOProfile/thinlto_cspgo_use.ll @@ -18,7 +18,7 @@ ; CSUSE-DAG: {{![0-9]+}} = !{!"branch_weights", i32 0, i32 100000} source_filename = "cspgo.c" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define dso_local void @foo() #0 !prof !29 { diff --git a/test/Transforms/PGOProfile/thinlto_indirect_call_promotion.ll b/test/Transforms/PGOProfile/thinlto_indirect_call_promotion.ll index b4c9c6fc55a..6d928eaca72 100644 --- a/test/Transforms/PGOProfile/thinlto_indirect_call_promotion.ll +++ b/test/Transforms/PGOProfile/thinlto_indirect_call_promotion.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 diff --git a/test/Transforms/PGOProfile/thinlto_samplepgo_icp.ll b/test/Transforms/PGOProfile/thinlto_samplepgo_icp.ll index e89e43f447f..b6b668dbc29 100644 --- a/test/Transforms/PGOProfile/thinlto_samplepgo_icp.ll +++ b/test/Transforms/PGOProfile/thinlto_samplepgo_icp.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 diff --git a/test/Transforms/PGOProfile/thinlto_samplepgo_icp2.ll b/test/Transforms/PGOProfile/thinlto_samplepgo_icp2.ll index 1271b7780e4..7e3afb0775a 100644 --- a/test/Transforms/PGOProfile/thinlto_samplepgo_icp2.ll +++ b/test/Transforms/PGOProfile/thinlto_samplepgo_icp2.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 diff --git a/test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll b/test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll index 15fa0398b8b..3044964f33c 100644 --- a/test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll +++ b/test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll @@ -10,7 +10,7 @@ ; Make sure we import the promted indirectly called target ; IMPORTS: Import _ZL3foov.llvm.0 -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 diff --git a/test/Transforms/PGOProfile/thinlto_samplepgo_icp_droppeddead.ll b/test/Transforms/PGOProfile/thinlto_samplepgo_icp_droppeddead.ll index df93826a7b7..fcbc2d64541 100644 --- a/test/Transforms/PGOProfile/thinlto_samplepgo_icp_droppeddead.ll +++ b/test/Transforms/PGOProfile/thinlto_samplepgo_icp_droppeddead.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-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 diff --git a/test/Transforms/PGOProfile/unreachable_bb.ll b/test/Transforms/PGOProfile/unreachable_bb.ll index 1b7fe4b0569..a27fbe77526 100644 --- a/test/Transforms/PGOProfile/unreachable_bb.ll +++ b/test/Transforms/PGOProfile/unreachable_bb.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define void @foo() { diff --git a/test/tools/llvm-lto2/X86/pipeline.ll b/test/tools/llvm-lto2/X86/pipeline.ll index f9759b59085..9ab81ac70a7 100644 --- a/test/tools/llvm-lto2/X86/pipeline.ll +++ b/test/tools/llvm-lto2/X86/pipeline.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define void @patatino() { diff --git a/test/tools/llvm-lto2/X86/stats-file-option.ll b/test/tools/llvm-lto2/X86/stats-file-option.ll index 948c5220220..c73c5021f62 100644 --- a/test/tools/llvm-lto2/X86/stats-file-option.ll +++ b/test/tools/llvm-lto2/X86/stats-file-option.ll @@ -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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define void @patatino() { -- 2.40.0