[PATCH] D142666: [DAGCombiner] Transform ABS(X) eq/ne 0/IntMin -> X eq/ne 0/IntMIn

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 22 11:06:55 PDT 2023


RKSimon added a comment.

In D142666#4213794 <https://reviews.llvm.org/D142666#4213794>, @goldstein.w.n wrote:

> In D142666#4212405 <https://reviews.llvm.org/D142666#4212405>, @RKSimon wrote:
>
>> @goldstein.w.n reverse-ping - whats the plan for this patch?
>
> @RKSimon does this show up in any codegen that went throw the middle-end?

There isn't that much in DAG that generates ABS nodes - foldAndOrOfSETCC is the closest to this I suppose?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142666/new/

https://reviews.llvm.org/D142666



More information about the llvm-commits mailing list