diff --git a/test/LTO/Inputs/bcsection.macho.s b/test/LTO/X86/Inputs/bcsection.macho.s similarity index 100% rename from test/LTO/Inputs/bcsection.macho.s rename to test/LTO/X86/Inputs/bcsection.macho.s diff --git a/test/LTO/Inputs/bcsection.s b/test/LTO/X86/Inputs/bcsection.s similarity index 100% rename from test/LTO/Inputs/bcsection.s rename to test/LTO/X86/Inputs/bcsection.s diff --git a/test/LTO/Inputs/invalid.ll.bc b/test/LTO/X86/Inputs/invalid.ll.bc similarity index 100% rename from test/LTO/Inputs/invalid.ll.bc rename to test/LTO/X86/Inputs/invalid.ll.bc diff --git a/test/LTO/Inputs/list-symbols.ll b/test/LTO/X86/Inputs/list-symbols.ll similarity index 100% rename from test/LTO/Inputs/list-symbols.ll rename to test/LTO/X86/Inputs/list-symbols.ll diff --git a/test/LTO/attrs.ll b/test/LTO/X86/attrs.ll similarity index 100% rename from test/LTO/attrs.ll rename to test/LTO/X86/attrs.ll diff --git a/test/LTO/bcsection.ll b/test/LTO/X86/bcsection.ll similarity index 100% rename from test/LTO/bcsection.ll rename to test/LTO/X86/bcsection.ll diff --git a/test/LTO/cfi_endproc.ll b/test/LTO/X86/cfi_endproc.ll similarity index 100% rename from test/LTO/cfi_endproc.ll rename to test/LTO/X86/cfi_endproc.ll diff --git a/test/LTO/current-section.ll b/test/LTO/X86/current-section.ll similarity index 100% rename from test/LTO/current-section.ll rename to test/LTO/X86/current-section.ll diff --git a/test/LTO/diagnostic-handler-remarks.ll b/test/LTO/X86/diagnostic-handler-remarks.ll similarity index 100% rename from test/LTO/diagnostic-handler-remarks.ll rename to test/LTO/X86/diagnostic-handler-remarks.ll diff --git a/test/LTO/invalid.ll b/test/LTO/X86/invalid.ll similarity index 100% rename from test/LTO/invalid.ll rename to test/LTO/X86/invalid.ll diff --git a/test/LTO/jump-table-type.ll b/test/LTO/X86/jump-table-type.ll similarity index 100% rename from test/LTO/jump-table-type.ll rename to test/LTO/X86/jump-table-type.ll diff --git a/test/LTO/keep-used-puts-during-instcombine.ll b/test/LTO/X86/keep-used-puts-during-instcombine.ll similarity index 100% rename from test/LTO/keep-used-puts-during-instcombine.ll rename to test/LTO/X86/keep-used-puts-during-instcombine.ll diff --git a/test/LTO/linkonce_odr_func.ll b/test/LTO/X86/linkonce_odr_func.ll similarity index 100% rename from test/LTO/linkonce_odr_func.ll rename to test/LTO/X86/linkonce_odr_func.ll diff --git a/test/LTO/list-symbols.ll b/test/LTO/X86/list-symbols.ll similarity index 100% rename from test/LTO/list-symbols.ll rename to test/LTO/X86/list-symbols.ll diff --git a/test/LTO/lit.local.cfg b/test/LTO/X86/lit.local.cfg similarity index 100% rename from test/LTO/lit.local.cfg rename to test/LTO/X86/lit.local.cfg diff --git a/test/LTO/no-undefined-puts-when-implemented.ll b/test/LTO/X86/no-undefined-puts-when-implemented.ll similarity index 100% rename from test/LTO/no-undefined-puts-when-implemented.ll rename to test/LTO/X86/no-undefined-puts-when-implemented.ll diff --git a/test/LTO/private-symbol.ll b/test/LTO/X86/private-symbol.ll similarity index 100% rename from test/LTO/private-symbol.ll rename to test/LTO/X86/private-symbol.ll diff --git a/test/LTO/runtime-library.ll b/test/LTO/X86/runtime-library.ll similarity index 100% rename from test/LTO/runtime-library.ll rename to test/LTO/X86/runtime-library.ll diff --git a/test/LTO/symver-asm.ll b/test/LTO/X86/symver-asm.ll similarity index 100% rename from test/LTO/symver-asm.ll rename to test/LTO/X86/symver-asm.ll diff --git a/test/LTO/triple-init.ll b/test/LTO/X86/triple-init.ll similarity index 100% rename from test/LTO/triple-init.ll rename to test/LTO/X86/triple-init.ll