[PATCH] D12660: Make the default triple optional by allowing an empty string

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 4 23:04:49 PDT 2015


joker.eph created this revision.
joker.eph added a reviewer: probinson.
joker.eph added a subscriber: llvm-commits.

When building LLVM as a (potentially dynamic) library that can be linked against
by multiple compilers, the default triple is not really meaningful.
We allow to explicitely set it to an empty string when configuring LLVM.
In this case, said "target independent" tests in the test suite that are using
the default triple are disabled by matching the newly available feature
"default_triple".

http://reviews.llvm.org/D12660

Files:
  include/llvm/Config/config.h.cmake
  test/BugPoint/remove_arguments_test.ll
  test/CodeGen/Generic/lit.local.cfg
  test/CodeGen/PowerPC/2006-01-20-ShiftPartsCrash.ll
  test/CodeGen/PowerPC/2006-08-15-SelectionCrash.ll
  test/CodeGen/PowerPC/2006-12-07-LargeAlloca.ll
  test/CodeGen/PowerPC/2006-12-07-SelectCrash.ll
  test/CodeGen/PowerPC/2007-11-19-VectorSplitting.ll
  test/CodeGen/PowerPC/load-shift-combine.ll
  test/CodeGen/X86/2006-10-02-BoolRetCrash.ll
  test/CodeGen/X86/2009-06-05-VariableIndexInsert.ll
  test/CodeGen/X86/2009-06-06-ConcatVectors.ll
  test/CodeGen/X86/2010-02-01-DbgValueCrash.ll
  test/CodeGen/X86/2010-07-06-DbgCrash.ll
  test/CodeGen/X86/GC/alloc_loop.ll
  test/CodeGen/X86/GC/cg-O0.ll
  test/CodeGen/X86/GC/lower_gcroot.ll
  test/CodeGen/X86/extractelement-shuffle.ll
  test/CodeGen/X86/vshift_scalar.ll
  test/DebugInfo/lit.local.cfg
  test/Feature/optnone-llc.ll
  test/Feature/optnone.ll
  test/LTO/X86/bcsection.ll
  test/LTO/X86/current-section.ll
  test/LTO/X86/list-symbols.ll
  test/Linker/subprogram-linkonce-weak.ll
  test/Linker/type-unique-odr-a.ll
  test/Linker/type-unique-simple-a.ll
  test/Linker/type-unique-simple2-a.ll
  test/Linker/type-unique-simple2.ll
  test/Linker/type-unique-type-array-a.ll
  test/MC/ELF/cfi-version.ll
  test/Other/2010-05-06-Printer.ll
  test/Transforms/BranchFolding/2007-10-19-InlineAsmDirectives.ll
  test/lit.cfg
  test/tools/llvm-mc/fatal_warnings.test
  test/tools/llvm-mc/line_end_with_space.test
  test/tools/llvm-mc/no_warnings.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12660.34101.patch
Type: text/x-patch
Size: 15827 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150905/c7c2bc35/attachment.bin>


More information about the llvm-commits mailing list