summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/tools/llvm-exegesis/PowerPC/AnalysisTest.cpp
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2019-10-09 11:29:21 +0000
committerClement Courbet <courbet@google.com>2019-10-09 11:29:21 +0000
commitd422d3a755d25b44e66a37e487d99ca5065275a3 (patch)
tree900fc74a5fed8ea9c478bbbc7208d9939fe48601 /llvm/unittests/tools/llvm-exegesis/PowerPC/AnalysisTest.cpp
parent60db8b7946b559517acb5232e345ebff1357cc08 (diff)
downloadbcm5719-llvm-d422d3a755d25b44e66a37e487d99ca5065275a3.tar.gz
bcm5719-llvm-d422d3a755d25b44e66a37e487d99ca5065275a3.zip
[llvm-exegesis][NFC] Remove extra `llvm::` qualifications.
Summary: First patch: in unit tests. Subscribers: nemanjai, tschuett, MaskRay, jsji, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68687 llvm-svn: 374157
Diffstat (limited to 'llvm/unittests/tools/llvm-exegesis/PowerPC/AnalysisTest.cpp')
-rw-r--r--llvm/unittests/tools/llvm-exegesis/PowerPC/AnalysisTest.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/unittests/tools/llvm-exegesis/PowerPC/AnalysisTest.cpp b/llvm/unittests/tools/llvm-exegesis/PowerPC/AnalysisTest.cpp
index a7d2c6d95e6..cce37d1c031 100644
--- a/llvm/unittests/tools/llvm-exegesis/PowerPC/AnalysisTest.cpp
+++ b/llvm/unittests/tools/llvm-exegesis/PowerPC/AnalysisTest.cpp
@@ -28,10 +28,9 @@ protected:
AnalysisTest() {
const std::string TT = "powerpc64le-unknown-linux";
std::string error;
- const llvm::Target *const TheTarget =
- llvm::TargetRegistry::lookupTarget(TT, error);
+ const Target *const TheTarget = TargetRegistry::lookupTarget(TT, error);
if (!TheTarget) {
- llvm::errs() << error << "\n";
+ errs() << error << "\n";
return;
}
STI.reset(TheTarget->createMCSubtargetInfo(TT, "pwr9", ""));
@@ -63,7 +62,7 @@ protected:
}
protected:
- std::unique_ptr<const llvm::MCSubtargetInfo> STI;
+ std::unique_ptr<const MCSubtargetInfo> STI;
uint16_t ALUIdx = 0;
uint16_t ALUEIdx = 0;
uint16_t ALUOIdx = 0;
OpenPOWER on IntegriCloud