[PATCH] D48754: recognize more abs pattern

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 2 06:30:19 PDT 2018


RKSimon added a comment.

In https://reviews.llvm.org/D48754#1149389, @spatel wrote:

> There's also an open question about creating ISD::ABS nodes directly in SelectionDAGBuilder. I think it's just an oversight that we use matchSelectPattern to create min/max there, but not abs.


For reference, this was raised in PR37743


https://reviews.llvm.org/D48754





More information about the llvm-commits mailing list