[polly] r308440 - [ScopInfo] Use AnyPHINode in tryGetValueStored()
Tobias Grosser via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 19 04:30:18 PDT 2017
Author: grosser
Date: Wed Jul 19 04:30:18 2017
New Revision: 308440
URL: http://llvm.org/viewvc/llvm-project?rev=308440&view=rev
Log:
[ScopInfo] Use AnyPHINode in tryGetValueStored()
This was an oversight in the previous commit. Michael already suggested this
beforehand.
Modified:
polly/trunk/include/polly/ScopInfo.h
Modified: polly/trunk/include/polly/ScopInfo.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/ScopInfo.h?rev=308440&r1=308439&r2=308440&view=diff
==============================================================================
--- polly/trunk/include/polly/ScopInfo.h (original)
+++ polly/trunk/include/polly/ScopInfo.h Wed Jul 19 04:30:18 2017
@@ -896,7 +896,7 @@ public:
/// might be stored. In this case nullptr is returned.
Value *tryGetValueStored() {
assert(isWrite() && "Only write statement store values");
- if (isPHIKind()) {
+ if (isAnyPHIKind()) {
if (Incoming.size() == 1)
return Incoming[0].second;
return nullptr;
More information about the llvm-commits
mailing list