[llvm] [SimplifyCFG] Use hash map to continue hoisting the common instructions (PR #78615)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 19 13:03:05 PDT 2024


================
@@ -3647,7 +3776,6 @@ static bool FoldTwoEntryPHINode(PHINode *PN, const TargetTransformInfo &TTI,
     // Change the PHI node into a select instruction.
     Value *TrueVal = PN->getIncomingValueForBlock(IfTrue);
     Value *FalseVal = PN->getIncomingValueForBlock(IfFalse);
-
----------------
dtcxzyw wrote:

Please drop the change.

https://github.com/llvm/llvm-project/pull/78615


More information about the llvm-commits mailing list