diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-11-08 00:00:50 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-11-08 00:00:50 +0000 |
commit | d2c5d7f6da1c409b291d2d7ef32e1889265d3d37 (patch) | |
tree | 8cecae7bc0f5835ff49125ee8f023328db7b8fea /llvm/lib/CodeGen | |
parent | 92b13aac04d33a00ece26dad02370540a9a6f332 (diff) | |
download | bcm5719-llvm-d2c5d7f6da1c409b291d2d7ef32e1889265d3d37.tar.gz bcm5719-llvm-d2c5d7f6da1c409b291d2d7ef32e1889265d3d37.zip |
Transforms: address some late comments
We already use the llvm namespace. Remove the unnecessary prefix. Use the
StringRef::equals method to compare with C strings rather than instantiating
std::strings.
Addresses late review comments from David Majnemer.
llvm-svn: 221564
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/Passes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/Passes.cpp b/llvm/lib/CodeGen/Passes.cpp index 3053f7f6b3f..b8b9311fc8c 100644 --- a/llvm/lib/CodeGen/Passes.cpp +++ b/llvm/lib/CodeGen/Passes.cpp @@ -446,7 +446,7 @@ void TargetPassConfig::addPassesToHandleExceptions() { void TargetPassConfig::addCodeGenPrepare() { if (getOptLevel() != CodeGenOpt::None && !DisableCGP) addPass(createCodeGenPreparePass(TM)); - addPass(llvm::createRewriteSymbolsPass()); + addPass(createRewriteSymbolsPass()); } /// Add common passes that perform LLVM IR to IR transforms in preparation for |