[llvm-commits] [llvm] r166393 - /llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
Jakub Staszak
kubastaszak at gmail.com
Sun Oct 21 08:36:03 PDT 2012
Author: kuba
Date: Sun Oct 21 10:36:03 2012
New Revision: 166393
URL: http://llvm.org/viewvc/llvm-project?rev=166393&view=rev
Log:
Simplify code. No functionality change.
Modified:
llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
Modified: llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp?rev=166393&r1=166392&r2=166393&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp Sun Oct 21 10:36:03 2012
@@ -1230,7 +1230,7 @@
// If the instruction has no users then this is a broken
// chain and can't be a reduction variable.
- if (Iter->use_begin() == Iter->use_end())
+ if (Iter->use_empty())
return false;
// For each of the *users* of iter.
More information about the llvm-commits
mailing list