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.
Paths
| Differential D121996
[NVPTX][tests] Do not run tests that require direct object generation ClosedPublic Authored by ikudrin on Mar 18 2022, 4:48 AM.
Details Summary 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.
Diff Detail
Unit TestsFailed
Event Timelineikudrin retitled this revision from [nvptx][tests] Do not run tests that require direct object generation to [NVPTX][tests] Do not run tests that require direct object generation.Mar 18 2022, 4:52 AM Comment Actions The code LGTM. When object-emission was reintroduced in D98508, there was some discussion on whether XCore ought to use this feature, or provide an integrated assembler instead. Sorry I don't know NVPTX: is NVPTX different because it generates assembly as its natural output, and binary does not make sense? Or could it have an integrated assembler at some point? Comment Actions
As far as I know, there are no plans for adding the integrated assembler. Comment Actions LGTM but I would prefer to hear from other reviewers who commented on object-emission before. Comment Actions
NVPTX only generates assembly. It is not going to have native code generation any time soon. It it did, we'd have multiple native back-ends. In other words, LGTM as far as NVPTX back-end is concerned. This revision was landed with ongoing or failed builds. Closed by commit rGc344d97a125b: [NVPTX][tests] Do not run tests that require direct object generation (authored by ikudrin). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 416461 llvm/test/DebugInfo/Generic/lit.local.cfg
llvm/test/DebugInfo/attr-btf_type_tag.ll
llvm/test/DebugInfo/dwarfdump-immutable.ll
llvm/test/Instrumentation/InstrProfiling/debug-info-correlate.ll
llvm/test/MC/AsmParser/debug-empty-source.s
llvm/test/MC/AsmParser/debug-no-source.s
llvm/test/MC/ELF/cfi-version.ll
llvm/test/MC/ELF/dwarf-file0.s
llvm/test/MC/ELF/dwarf-loc0.s
llvm/test/lit.cfg.py
llvm/test/tools/llvm-mc/lit.local.cfg
|