[PATCH] D58851: [SCEV] Remove undef check for SCEVConstant (NFC)
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 1 17:56:45 PST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL355257: [SCEV] Remove undef check for SCEVConstant (NFC) (authored by fhahn, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D58851?vs=188980&id=189016#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58851/new/
https://reviews.llvm.org/D58851
Files:
llvm/trunk/lib/Analysis/ScalarEvolution.cpp
Index: llvm/trunk/lib/Analysis/ScalarEvolution.cpp
===================================================================
--- llvm/trunk/lib/Analysis/ScalarEvolution.cpp
+++ llvm/trunk/lib/Analysis/ScalarEvolution.cpp
@@ -10824,8 +10824,6 @@
return SCEVExprContains(S, [](const SCEV *S) {
if (const auto *SU = dyn_cast<SCEVUnknown>(S))
return isa<UndefValue>(SU->getValue());
- else if (const auto *SC = dyn_cast<SCEVConstant>(S))
- return isa<UndefValue>(SC->getValue());
return false;
});
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58851.189016.patch
Type: text/x-patch
Size: 522 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190302/26b96d4a/attachment.bin>
More information about the llvm-commits
mailing list