aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorSam Parker <sam.parker@arm.com>2016-08-02 12:44:27 +0000
committerSam Parker <sam.parker@arm.com>2016-08-02 12:44:27 +0000
commit18bc3a002ed51c9eeef7a591c36baf930d6b8c8f (patch)
tree27430af11f44f08f7250f6cdf2b13d6d3044814e /llvm/lib/CodeGen/MachineFunction.cpp
parent78692ea590046c7c9a66e58a14165ff6b16b5ae5 (diff)
downloadllvm-18bc3a002ed51c9eeef7a591c36baf930d6b8c8f.zip
llvm-18bc3a002ed51c9eeef7a591c36baf930d6b8c8f.tar.gz
llvm-18bc3a002ed51c9eeef7a591c36baf930d6b8c8f.tar.bz2
[ARM] Improve smul* and smla* isel for Thumb2
Added (sra (shl x, 16), 16) to the sext_16_node PatLeaf for ARM to simplify some pattern matching. This has allowed several patterns for smul* and smla* to be removed as well as making it easier to add the matching for the corresponding instructions for Thumb2 targets. Also added two Pat classes that are predicated on Thumb2 with the hasDSP flag and UseMulOps flags. Updated the smul codegen test with the wider range of patterns plus the ThumbV6 and ThumbV6T2 targets. Differential Revision: https://reviews.llvm.org/D22908 llvm-svn: 277450
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions