llvm-project/llvm/test
Andrea Di Biagio edbf06a767 [AsmPrinter] Remove hidden flag -print-schedule.
This patch removes hidden codegen flag -print-schedule effectively reverting the
logic originally committed as r300311
(https://llvm.org/viewvc/llvm-project?view=revision&revision=300311).

Flag -print-schedule was originally introduced by r300311 to address PR32216
(https://bugs.llvm.org/show_bug.cgi?id=32216). That bug was about adding "Better
testing of schedule model instruction latencies/throughputs".

These days, we can use llvm-mca to test scheduling models. So there is no longer
a need for flag -print-schedule in LLVM. The main use case for PR32216 is
now addressed by llvm-mca.
Flag -print-schedule is mainly used for debugging purposes, and it is only
actually used by x86 specific tests. We already have extensive (latency and
throughput) tests under "test/tools/llvm-mca" for X86 processor models. That
means, most (if not all) existing -print-schedule tests for X86 are redundant.

When flag -print-schedule was first added to LLVM, several files had to be
modified; a few APIs gained new arguments (see for example method
MCAsmStreamer::EmitInstruction), and MCSubtargetInfo/TargetSubtargetInfo gained
a couple of getSchedInfoStr() methods.

Method getSchedInfoStr() had to originally work for both MCInst and
MachineInstr. The original implmentation of getSchedInfoStr() introduced a
subtle layering violation (reported as PR37160 and then fixed/worked-around by
r330615).
In retrospect, that new API could have been designed more optimally. We can
always query MCSchedModel to get the latency and throughput. More importantly,
the "sched-info" string should not have been generated by the subtarget.
Note, r317782 fixed an issue where "print-schedule" didn't work very well in the
presence of inline assembly. That commit is also reverted by this change.

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

llvm-svn: 353043
2019-02-04 12:51:26 +00:00
..
Analysis [SCEV] Do not bother creating separate SCEVUnknown for unreachable nodes 2019-02-04 05:04:19 +00:00
Assembler Add a 'dynamic' parameter to the objectsize intrinsic 2019-01-30 20:34:35 +00:00
Bindings
Bitcode Revert "[Sanitizers] UBSan unreachable incompatible with ASan in the presence of `noreturn` calls" 2019-01-24 18:04:21 +00:00
BugPoint Python compat - print statement 2019-01-03 14:11:33 +00:00
CodeGen [AsmPrinter] Remove hidden flag -print-schedule. 2019-02-04 12:51:26 +00:00
DebugInfo [DebugInfo] Fix mkdir use in test 2019-02-01 21:14:21 +00:00
Demangle [llvm-undname] Add support for demangling msvc's noexcept types. 2019-01-08 21:05:51 +00:00
Examples
ExecutionEngine
Feature
FileCheck Fixup test after r352704 since it changes how paths may be emitted. 2019-01-31 07:58:34 +00:00
Instrumentation [ASan] Do not instrument other runtime functions with `__asan_handle_no_return` 2019-02-02 02:05:16 +00:00
Integer
JitListener
LTO [LTO] Record whether LTOUnit splitting is enabled in index 2019-01-11 18:31:57 +00:00
Linker Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
MC [X86] Print %st(0) as %st when its implicit to the instruction. Continue printing it as %st(0) when its encoded in the instruction. 2019-02-04 04:15:10 +00:00
Object [llvm-nm] Report '.comment' ELF sections as 'n' instead of '?' 2019-02-01 17:38:08 +00:00
ObjectYAML [WebAssembly] Parse llvm.ident into producers section 2019-01-17 02:29:55 +00:00
Other Add a 'dynamic' parameter to the objectsize intrinsic 2019-01-30 20:34:35 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen [TblGen] Extend !if semantics through new feature !cond 2019-01-25 10:25:25 +00:00
ThinLTO/X86 Try to make new test more resilient to different orderings 2019-01-29 02:04:01 +00:00
Transforms Commit tests for changes in revision D41608 2019-02-04 10:32:07 +00:00
Unit
Verifier GlobalISel: Verify memory size for load/store 2019-01-30 01:10:42 +00:00
YAMLParser
tools [llvm-exegesis] Don't default to running&dumping all analyses to '-' 2019-02-04 09:12:08 +00:00
.clang-format
CMakeLists.txt Use llvm_canonicalize_cmake_booleans for LLVM_LIBXML2_ENABLED [llvm] 2019-01-19 00:10:54 +00:00
TestRunner.sh
lit.cfg.py Use llvm_canonicalize_cmake_booleans for LLVM_LIBXML2_ENABLED [llvm] 2019-01-19 00:10:54 +00:00
lit.site.cfg.py.in Use llvm_canonicalize_cmake_booleans for LLVM_LIBXML2_ENABLED [llvm] 2019-01-19 00:10:54 +00:00