diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-08-07 09:51:34 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-08-07 09:51:34 +0000 |
commit | 7e189387933796602b65aa8dc04c4b3309e47e47 (patch) | |
tree | f5b99967e7a4060ee043d7e565f4b57510a8c3d8 /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp | |
parent | 974a5a7d942ec099ef10fecdd2ffa9b8ab026e61 (diff) | |
download | bcm5719-llvm-7e189387933796602b65aa8dc04c4b3309e47e47.tar.gz bcm5719-llvm-7e189387933796602b65aa8dc04c4b3309e47e47.zip |
[TargetLowering] Add support for non-uniform vectors to BuildUDIV
This patch refactors the existing TargetLowering::BuildUDIV base implementation to support non-uniform constant vector denominators.
It also includes a fold for MULHU by pow2 constants to SRL which can now more readily occur from BuildUDIV.
Differential Revision: https://reviews.llvm.org/D49248
llvm-svn: 339121
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp')
0 files changed, 0 insertions, 0 deletions