HomePhabricator

[InstCombine] Fold freeze(undef) into a proper constant

Authored by aqjune on Jul 30 2020, 7:15 AM.

Description

[InstCombine] Fold freeze(undef) into a proper constant

This is a simple patch that folds freeze(undef) into a proper constant after inspecting its uses.

Reviewed By: nikic

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

Details

Committed
aqjuneAug 6 2020, 2:40 AM
Reviewer
nikic
Differential Revision
D84948: [InstCombine] Fold freeze(undef) into a proper constant
Parents
rG54a1097b8373: [InstCombine] Add tests for D84948; NFC
Branches
Unknown
Tags
Unknown