HomePhabricator

[InstCombine] Handle logical and/or in assume optimization

Authored by nikic on Tue, Jan 12, 1:35 PM.

Description

[InstCombine] Handle logical and/or in assume optimization

assume(a && b) can be converted to assume(a); assume(b) even if
the condition is logical. Same for assume(!(a || b)).

Details

Committed
nikicTue, Jan 12, 1:36 PM
Parents
rG71ed4b6ce57d: [RISCV] Legalize select when Zbt extension available
Branches
Unknown
Tags
Unknown