HomePhabricator

[InstSimplify] Add more poison folding optimizations

Authored by aqjune on Jun 21 2021, 11:49 AM.

Description

[InstSimplify] Add more poison folding optimizations

This adds more poison folding optimizations to InstSimplify.

Since all binary operators propagate poison, these are fine.

Also, the precondition of select cond, undef, x -> x is relaxed to allow the case when x is undef.

Reviewed By: nikic

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

Details

Committed
aqjuneJun 23 2021, 4:25 AM
Reviewer
nikic
Differential Revision
D104661: [InstSimplify] Add more poison folding optimizations
Parents
rG1b1c8e4a984c: [lldb] Remove CommandReturnObject's SetError(StringRef)
Branches
Unknown
Tags
Unknown