summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py
diff options
context:
space:
mode:
authorBjorn Pettersson <bjorn.a.pettersson@ericsson.com>2019-11-28 23:18:28 +0100
committerBjorn Pettersson <bjorn.a.pettersson@ericsson.com>2019-12-02 11:05:25 +0100
commita9d6b0e5444741d08ff1df7cf71d1559e7fefc1f (patch)
tree36f6d6da60c37f0f812bd84c4a450f4034d9dfbc /lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py
parent7eecf2b872e506927f59b6a1f4a8546d8baaa700 (diff)
downloadbcm5719-llvm-a9d6b0e5444741d08ff1df7cf71d1559e7fefc1f.tar.gz
bcm5719-llvm-a9d6b0e5444741d08ff1df7cf71d1559e7fefc1f.zip
[InstCombine] Fix big-endian miscompile of (bitcast (zext/trunc (bitcast)))
Summary: optimizeVectorResize is rewriting patterns like: %1 = bitcast vector %src to integer %2 = trunc/zext %1 %dst = bitcast %2 to vector Since bitcasting between integer an vector types gives different integer values depending on endianness, we need to take endianness into account. As it happens the old implementation only produced the correct result for little endian targets. Fixes: https://bugs.llvm.org/show_bug.cgi?id=44178 Reviewers: spatel, lattner, lebedev.ri Reviewed By: spatel, lebedev.ri Subscribers: lebedev.ri, hiraditya, uabelho, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D70844
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud