HomePhabricator

[ConstantFolding] fold abs intrinsic

Authored by spatel on Jul 31 2020, 8:50 AM.

Description

[ConstantFolding] fold abs intrinsic

The handling for minimum value is similar to cttz/ctlz with 0 just above this case.

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

Details