summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
diff options
context:
space:
mode:
authorDaniil Suchkov <suc-daniil@yandex.ru>2019-11-14 17:42:01 +0700
committerDaniil Suchkov <suc-daniil@yandex.ru>2019-11-14 17:42:01 +0700
commit4c9d0da8382f176a2fb7b97298932a53d22e8627 (patch)
tree4beacb8247d5ae1f03d114ec7ee7de436aeed469 /llvm/lib/Transforms/InstCombine/InstCombineInternal.h
parent8715ffdf1aafbfca7c3d7f1622fe586243f31df1 (diff)
downloadbcm5719-llvm-4c9d0da8382f176a2fb7b97298932a53d22e8627.tar.gz
bcm5719-llvm-4c9d0da8382f176a2fb7b97298932a53d22e8627.zip
Revert "[InstCombine] Fold PHIs with equal incoming pointers"
This reverts commit a2f6ae9abffcba260c22bb235879f0576bf3b783. It is reverted due to clang-cmake-armv7-selfhost buildbot failure.
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineInternal.h')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstCombineInternal.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
index 52aeb787aaf..524f9313d8c 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
+++ b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
@@ -895,11 +895,6 @@ private:
/// insert a new pointer typed PHI and replace the original one.
Instruction *FoldIntegerTypedPHI(PHINode &PN);
- /// If all incoming values of a pointer typed PHI are pointers with the same
- /// base and offset, replace the PHI and all incoming values with one
- /// definition of such pointer.
- Instruction *FoldPHIWithEqualPointers(PHINode &PN);
-
/// Helper function for FoldPHIArgXIntoPHI() to set debug location for the
/// folded operation.
void PHIArgMergedDebugLoc(Instruction *Inst, PHINode &PN);
OpenPOWER on IntegriCloud