summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ExecutionDepsFix.cpp
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-10-01 02:56:57 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-10-01 02:56:57 +0000
commit117296c0a00860072854dd3fee8cd710b7955cf7 (patch)
tree8607cdf84f087928e123b023d511a39d99e088e6 /llvm/lib/CodeGen/ExecutionDepsFix.cpp
parent86eeda8e20d5aa5a5622a487c56364b4b26c6f3a (diff)
downloadbcm5719-llvm-117296c0a00860072854dd3fee8cd710b7955cf7.tar.gz
bcm5719-llvm-117296c0a00860072854dd3fee8cd710b7955cf7.zip
Use StringRef in Pass/PassManager APIs (NFC)
llvm-svn: 283004
Diffstat (limited to 'llvm/lib/CodeGen/ExecutionDepsFix.cpp')
-rw-r--r--llvm/lib/CodeGen/ExecutionDepsFix.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/ExecutionDepsFix.cpp b/llvm/lib/CodeGen/ExecutionDepsFix.cpp
index 400413be5b6..54164c94395 100644
--- a/llvm/lib/CodeGen/ExecutionDepsFix.cpp
+++ b/llvm/lib/CodeGen/ExecutionDepsFix.cpp
@@ -175,9 +175,7 @@ public:
MachineFunctionProperties::Property::NoVRegs);
}
- const char *getPassName() const override {
- return "Execution dependency fix";
- }
+ StringRef getPassName() const override { return "Execution dependency fix"; }
private:
iterator_range<SmallVectorImpl<int>::const_iterator>
OpenPOWER on IntegriCloud