Skip to content
Commit 52f323d0 authored by chenglin.bi's avatar chenglin.bi Committed by Sanjay Patel
Browse files

[InstCombine] Fold abs of known negative operand when source is sub

When abs source comes from (x - y), check if a "x > y" dominating
condition exists.

Fixes #54132

Differential Revision: https://reviews.llvm.org/D122013
parent 6c90a654
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment