diff options
author | Vedant Kumar <vsk@apple.com> | 2018-12-18 21:05:03 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2018-12-18 21:05:03 +0000 |
commit | 77dfca88b2a3bed8a0f9961cc5d06c8382c9b926 (patch) | |
tree | 52a9e83a367b0fdfa187b3a19b77dbbcbd5a269a /lldb/packages/Python/lldbsuite | |
parent | 7b3db0e4fd99967fc66431f60c7c6bafd99b104a (diff) | |
download | bcm5719-llvm-77dfca88b2a3bed8a0f9961cc5d06c8382c9b926.tar.gz bcm5719-llvm-77dfca88b2a3bed8a0f9961cc5d06c8382c9b926.zip |
[CodeGen] Handle mixed-width ops in mixed-sign mul-with-overflow lowering
The special lowering for __builtin_mul_overflow introduced in r320902
fixed an ICE seen when passing mixed-sign operands to the builtin.
This patch extends the special lowering to cover mixed-width, mixed-sign
operands. In a few common scenarios, calls to muloti4 will no longer be
emitted.
This should address the latest comments in PR34920 and work around the
link failure seen in:
https://bugzilla.redhat.com/show_bug.cgi?id=1657544
Testing:
- check-clang
- A/B output comparison with: https://gist.github.com/vedantk/3eb9c88f82e5c32f2e590555b4af5081
Differential Revision: https://reviews.llvm.org/D55843
llvm-svn: 349542
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
0 files changed, 0 insertions, 0 deletions