diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2023-02-04 11:25:46 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2023-02-04 11:25:51 +0000 |
commit | 8f25e382c5b1bbaafd738f44de856c85ce845bbe (patch) | |
tree | 188d3ed7ed00d32c219ad3d25720f53350268147 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | e006c7dfa79a245bd3ada7620e72e97c028b7645 (diff) | |
download | llvm-8f25e382c5b1bbaafd738f44de856c85ce845bbe.zip llvm-8f25e382c5b1bbaafd738f44de856c85ce845bbe.tar.gz llvm-8f25e382c5b1bbaafd738f44de856c85ce845bbe.tar.bz2 |
[X86] Add basic vector handling for ISD::ABDS/ABDU (absolute difference) nodes
I'm intending to add generic legalization in the future, but for now I've added basic support to targets that have the necessary MIN/MAX support to expand to SUB(MAX(X,Y),MIN(X,Y)).
This exposed a couple of issues with the DAG combines - in particular we need to catch trunc(abs(sub(ext(x),ext(y)))) patterns earlier before the SSE/AVX vector trunc expansion folds trigger.
Differential Revision: https://reviews.llvm.org/D142288
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions