[PATCH] D121998: [tests] Force (some) X86-specific tests to use that target

Igor Kudrin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 18 05:10:00 PDT 2022


ikudrin created this revision.
ikudrin added reviewers: MaskRay, Jake-Egan, mehdi_amini, cchen15, alok, SouraVX, teemperor, dneilson, apilipenko, bogner.
ikudrin added a project: LLVM.
Herald added subscribers: ormris, pengfei, steven_wu, hiraditya.
Herald added a project: All.
ikudrin requested review of this revision.

These tests are located in 'X86' subfolders which means that they should be compiled for that target. As they did not have the target specified explicitly, they in fact were compiled for a default target triple. Not all targets support all required features for these tests; for example, if NVPTX is used as a default triple, the tests fail. The patch makes the tests run for 'x86_64', thus they pass regardless of the default target.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121998

Files:
  llvm/test/CodeGen/X86/2010-02-01-DbgValueCrash.ll
  llvm/test/CodeGen/X86/GC/alloc_loop.ll
  llvm/test/CodeGen/X86/GC/cg-O0.ll
  llvm/test/CodeGen/X86/GC/lower_gcroot.ll
  llvm/test/CodeGen/X86/dbg-distringtype-uint.ll
  llvm/test/DebugInfo/X86/dwarfdump-generic_subrange.ll
  llvm/test/DebugInfo/X86/dwarfdump-generic_subrange_const.ll
  llvm/test/DebugInfo/X86/dwarfdump-generic_subrange_count.ll
  llvm/test/DebugInfo/X86/dwarfdump-rankConst.ll
  llvm/test/DebugInfo/X86/dwarfdump-rankExp.ll
  llvm/test/DebugInfo/X86/dwarfdump-signed_const.ll
  llvm/test/DebugInfo/X86/global-constants.ll
  llvm/test/DebugInfo/X86/invalid-global-constants.ll
  llvm/test/DebugInfo/X86/objc_direct.ll
  llvm/test/LTO/X86/Inputs/remangle_intrinsics.ll
  llvm/test/LTO/X86/remangle_intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121998.416465.patch
Type: text/x-patch
Size: 7789 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220318/eeaaeee3/attachment.bin>


More information about the llvm-commits mailing list