diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-10-19 15:02:24 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-10-19 15:02:24 +0000 |
commit | fdd63d153582b3a566dd580552e625e174a20dcd (patch) | |
tree | 5e2dc6b64b145fbcd6ead809a06cc468462aa132 /llvm/docs/CommandGuide/llvm-symbolizer.rst | |
parent | 0444e4fcd43f01676e73b73b180855efac72db51 (diff) | |
download | bcm5719-llvm-fdd63d153582b3a566dd580552e625e174a20dcd.tar.gz bcm5719-llvm-fdd63d153582b3a566dd580552e625e174a20dcd.zip |
[X86] Replace custom scalar integer absolute matching with ISD::ABS lowering.
x86 has its own copy of integer absolute pattern matching to combine directly to a SUB+CMOV.
This patch removes the x86 combine and adds custom lowering support for ISD::ABS instead, allowing us to use the DAGCombiner version.
Additional test cases are already covered by iabs.ll (rL315706 and rL315711).
Differential Revision: https://reviews.llvm.org/D38895
llvm-svn: 316162
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-symbolizer.rst')
0 files changed, 0 insertions, 0 deletions