mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[Tablegen][SubtargetEmitter] Print TuneCPU in Subtarget::ParseSubtargetFeatures
Let user able to know which -tune-cpu are used now. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D88951
This commit is contained in:
parent
0c8cdbbac8
commit
b69d089152
@ -1700,7 +1700,8 @@ void SubtargetEmitter::ParseFeaturesFunction(raw_ostream &OS,
|
||||
OS << "Subtarget::ParseSubtargetFeatures(StringRef CPU, StringRef TuneCPU, "
|
||||
<< "StringRef FS) {\n"
|
||||
<< " LLVM_DEBUG(dbgs() << \"\\nFeatures:\" << FS);\n"
|
||||
<< " LLVM_DEBUG(dbgs() << \"\\nCPU:\" << CPU << \"\\n\\n\");\n";
|
||||
<< " LLVM_DEBUG(dbgs() << \"\\nCPU:\" << CPU);\n"
|
||||
<< " LLVM_DEBUG(dbgs() << \"\\nTuneCPU:\" << TuneCPU << \"\\n\\n\");\n";
|
||||
|
||||
if (Features.empty()) {
|
||||
OS << "}\n";
|
||||
|
Loading…
Reference in New Issue
Block a user