summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
diff options
context:
space:
mode:
authorDaniil Suchkov <suc-daniil@yandex.ru>2019-11-13 17:14:11 +0700
committerDaniil Suchkov <suc-daniil@yandex.ru>2019-11-13 17:14:11 +0700
commitcba4a27745ab33b828476eff47caf3e1b6e060f5 (patch)
tree0c9e4e60601987d0663cee5c99906dcd0646d568 /llvm/lib/Transforms/InstCombine/InstCombineInternal.h
parent5e646ff53052c5d8694f2da14b9a094202fee729 (diff)
downloadbcm5719-llvm-cba4a27745ab33b828476eff47caf3e1b6e060f5.tar.gz
bcm5719-llvm-cba4a27745ab33b828476eff47caf3e1b6e060f5.zip
Temporarily revert "[InstCombine] Fold PHIs with equal incoming pointers"
Revert due to sanitizer-windows buildbot failure. This reverts commit bbb29738b58aaf6f6518269abdcf8f64131665a9.
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