[PATCH] D12478: Code style changes (VectorUtils.cpp)
James Molloy via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 30 06:42:31 PDT 2015
jmolloy accepted this revision.
jmolloy added a comment.
This revision is now accepted and ready to land.
Apart from my one comment, LGTM.
Thankyou for making these changes, Elena!
================
Comment at: ../lib/Analysis/VectorUtils.cpp:418
@@ -415,4 +417,3 @@
llvm::Value *llvm::getSplatValue(Value *V) {
- llvm::ConstantDataVector *CV = dyn_cast<llvm::ConstantDataVector>(V);
- if (CV)
+ if (auto *CV = dyn_cast<llvm::ConstantDataVector>(V))
return CV->getSplatValue();
----------------
You don't need llvm:: here.
Repository:
rL LLVM
http://reviews.llvm.org/D12478
More information about the llvm-commits
mailing list