[all-commits] [llvm/llvm-project] 288169: [tests] Force (some) X86-specific tests to use an ...

Igor Kudrin via All-commits all-commits at lists.llvm.org
Tue Mar 22 05:49:58 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2881696b4062db320dc2d1456bb4269687133f3c
      https://github.com/llvm/llvm-project/commit/2881696b4062db320dc2d1456bb4269687133f3c
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2022-03-22 (Tue, 22 Mar 2022)

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

  Log Message:
  -----------
  [tests] Force (some) X86-specific tests to use an explicit triple

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.

Differential Revision: https://reviews.llvm.org/D121998


  Commit: d7681d9f77e05fb6321757b933d2eadd943b069d
      https://github.com/llvm/llvm-project/commit/d7681d9f77e05fb6321757b933d2eadd943b069d
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2022-03-22 (Tue, 22 Mar 2022)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
    A llvm/test/CodeGen/NVPTX/filetype-null.ll

  Log Message:
  -----------
  [NVPTX] Avoid a crash when 'llc' is called with '-filetype=null'

For '-filetype=null', 'NVPTXTargetStreamer' is not created, so the
return value of 'OutStreamer->getTargetStreamer()' should be checked
before calling the methods.

Differential Revision: https://reviews.llvm.org/D122001


  Commit: 568404e897532bb5c3f081c8fdfcf02d10e1abb3
      https://github.com/llvm/llvm-project/commit/568404e897532bb5c3f081c8fdfcf02d10e1abb3
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2022-03-22 (Tue, 22 Mar 2022)

  Changed paths:
    M llvm/test/DebugInfo/cross-cu-scope.ll
    M llvm/test/DebugInfo/debuglineinfo-path.ll
    M llvm/test/DebugInfo/dwo.ll
    M llvm/test/DebugInfo/omit-empty.ll
    M llvm/test/DebugInfo/skeletoncu.ll
    M llvm/test/Linker/subprogram-linkonce-weak.ll
    M llvm/test/Linker/type-unique-odr-a.ll
    M llvm/test/Linker/type-unique-simple-a.ll
    M llvm/test/Linker/type-unique-simple2-a.ll
    M llvm/test/Linker/type-unique-simple2.ll
    M llvm/test/Linker/type-unique-type-array-a.ll
    M llvm/test/lit.cfg.py

  Log Message:
  -----------
  [tests] Make 'object-emission' imply 'default_triple'

If 'config.target_triple' is empty, there is no sense to define the
'object-emission' tag.

Differential Revision: https://reviews.llvm.org/D121994


  Commit: c344d97a125b18f8fed0a64aace73c49a870e079
      https://github.com/llvm/llvm-project/commit/c344d97a125b18f8fed0a64aace73c49a870e079
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2022-03-22 (Tue, 22 Mar 2022)

  Changed paths:
    M llvm/test/DebugInfo/Generic/lit.local.cfg
    M llvm/test/DebugInfo/attr-btf_type_tag.ll
    M llvm/test/DebugInfo/dwarfdump-immutable.ll
    M llvm/test/Instrumentation/InstrProfiling/debug-info-correlate.ll
    M llvm/test/MC/AsmParser/debug-empty-source.s
    M llvm/test/MC/AsmParser/debug-no-source.s
    M llvm/test/MC/ELF/cfi-version.ll
    M llvm/test/MC/ELF/dwarf-file0.s
    M llvm/test/MC/ELF/dwarf-loc0.s
    M llvm/test/lit.cfg.py
    M llvm/test/tools/llvm-mc/lit.local.cfg

  Log Message:
  -----------
  [NVPTX][tests] Do not run tests that require direct object generation

NVPTX does not support generating binary files, which is required for
these tests.

The majority of tests in 'DebugInfo/Generic' also require emitting
object files, so they all are disabled for NVPTX.

Differential Revision: https://reviews.llvm.org/D121996


Compare: https://github.com/llvm/llvm-project/compare/5269dd7f4877...c344d97a125b


More information about the All-commits mailing list