summaryrefslogtreecommitdiffstats
path: root/polly/lib/Support/SCEVAffinator.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2016-06-11 19:17:15 +0000
committerTobias Grosser <tobias@grosser.es>2016-06-11 19:17:15 +0000
commit3717aa5ddbf9bd5b14f9604b5bd0803dc7e8fe8a (patch)
tree2d274550963818cd6987ea447de338ba1cb68c5c /polly/lib/Support/SCEVAffinator.cpp
parent594ffa3d368ef069f56916fc126ae43493a8fb7f (diff)
downloadbcm5719-llvm-3717aa5ddbf9bd5b14f9604b5bd0803dc7e8fe8a.tar.gz
bcm5719-llvm-3717aa5ddbf9bd5b14f9604b5bd0803dc7e8fe8a.zip
This reverts recent expression type changes
The recent expression type changes still need more discussion, which will happen on phabricator or on the mailing list. The precise list of commits reverted are: - "Refactor division generation code" - "[NFC] Generate runtime checks after the SCoP" - "[FIX] Determine insertion point during SCEV expansion" - "Look through IntToPtr & PtrToInt instructions" - "Use minimal types for generated expressions" - "Temporarily promote values to i64 again" - "[NFC] Avoid unnecessary comparison for min/max expressions" - "[Polly] Fix -Wunused-variable warnings (NFC)" - "[NFC] Simplify min/max expression generation" - "Simplify the type adjustment in the IslExprBuilder" Some of them are just reverted as we would otherwise get conflicts. I will try to re-commit them if possible. llvm-svn: 272483
Diffstat (limited to 'polly/lib/Support/SCEVAffinator.cpp')
-rw-r--r--polly/lib/Support/SCEVAffinator.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/polly/lib/Support/SCEVAffinator.cpp b/polly/lib/Support/SCEVAffinator.cpp
index 347c12f60fd..bff074761e0 100644
--- a/polly/lib/Support/SCEVAffinator.cpp
+++ b/polly/lib/Support/SCEVAffinator.cpp
@@ -565,10 +565,6 @@ __isl_give PWACtx SCEVAffinator::visitSRemInstruction(Instruction *SRem) {
__isl_give PWACtx SCEVAffinator::visitUnknown(const SCEVUnknown *Expr) {
if (Instruction *I = dyn_cast<Instruction>(Expr->getValue())) {
switch (I->getOpcode()) {
- case Instruction::IntToPtr:
- return visit(SE.getSCEVAtScope(I->getOperand(0), getScope()));
- case Instruction::PtrToInt:
- return visit(SE.getSCEVAtScope(I->getOperand(0), getScope()));
case Instruction::SDiv:
return visitSDivInstruction(I);
case Instruction::SRem:
OpenPOWER on IntegriCloud