HomePhabricator

[InstSimplify] icmp poison, X -> poison

Authored by aqjune on Jun 19 2021, 11:29 PM.

Description

[InstSimplify] icmp poison, X -> poison

This adds a simple transformation from icmp with poison constant to poison.
Comparing poison with something else is poison, so this is okay.

https://alive2.llvm.org/ce/z/e8iReb
https://alive2.llvm.org/ce/z/q4MurY

Details

Committed
aqjuneJun 19 2021, 11:39 PM
Parents
rG0873016ceff3: [llvm-cov gcov] Support GCC 12 format
Branches
Unknown
Tags
Unknown