From cba4a27745ab33b828476eff47caf3e1b6e060f5 Mon Sep 17 00:00:00 2001 From: Daniil Suchkov Date: Wed, 13 Nov 2019 17:14:11 +0700 Subject: Temporarily revert "[InstCombine] Fold PHIs with equal incoming pointers" Revert due to sanitizer-windows buildbot failure. This reverts commit bbb29738b58aaf6f6518269abdcf8f64131665a9. --- llvm/lib/Transforms/InstCombine/InstCombineInternal.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'llvm/lib/Transforms/InstCombine/InstCombineInternal.h') 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); -- cgit v1.2.3