HomePhabricator

[InstCombine] Fold freeze into phi if one operand is not undef

Authored by aqjune on Jul 27 2020, 1:07 AM.

Description

[InstCombine] Fold freeze into phi if one operand is not undef

This patch adds folding freeze into phi if it has only one operand to target.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D84601

Details

Committed
aqjuneJul 27 2020, 1:07 AM
Reviewer
nikic
Differential Revision
D84601: [InstCombine] Fold freeze into phi if one operand is not undef
Parents
rGe89414f4060d: [lldb/Utility] Clean up Scalar constructors
Branches
Unknown
Tags
Unknown