diff options
author | Craig Topper <craig.topper@sifive.com> | 2020-12-04 10:45:31 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2020-12-04 10:45:31 -0800 |
commit | c55d9af8c0d33088bd103ce70fea23ce31f72968 (patch) | |
tree | 538f3b8957098b6d7093ca1e2bf7373172d644c3 /llvm/lib/Support/JSON.cpp | |
parent | ad923edfc1ce0c0b60e8270954c8d098aab3c3f8 (diff) | |
download | llvm-c55d9af8c0d33088bd103ce70fea23ce31f72968.zip llvm-c55d9af8c0d33088bd103ce70fea23ce31f72968.tar.gz llvm-c55d9af8c0d33088bd103ce70fea23ce31f72968.tar.bz2 |
[AArch64] Add custom lowering for ISD::ABS
Instead of trying to pattern match the code produced by ISD::ABS expansion, just custom legalize ISD::ABS to the desired sequence.
The one test change is because a DAG combine for (neg (abs)) is no longer firing because ISD::ABS is now Custom instead of Expand.
Differential Revision: https://reviews.llvm.org/D92154
Diffstat (limited to 'llvm/lib/Support/JSON.cpp')
0 files changed, 0 insertions, 0 deletions