[ARM] Remove unused lowerABS function. NFC
authorCraig Topper <craig.topper@sifive.com>
Mon, 21 Feb 2022 06:35:30 +0000 (22:35 -0800)
committerCraig Topper <craig.topper@sifive.com>
Mon, 21 Feb 2022 06:43:23 +0000 (22:43 -0800)
commita6fb1bb3061b4f6e01b9402bde1bef280bb90811
treed2e65c6aab9500d945d29f291e063878859a4c0f
parent47b1fa5fc48821eefefd157ed4af2f2cf3bacef4
[ARM] Remove unused lowerABS function. NFC

This function was added in D49837, but no setOperationAction call
was added with it. The code is equivalent to what is done by the
default ExpandIntRes_ABS implementation when ADDCARRY is supported.
Test case added to verify this. There was some existing coverage
from Thumb2 MVE tests, but they started from vectors.
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/lib/Target/ARM/ARMISelLowering.h
llvm/test/CodeGen/ARM/iabs.ll