summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/embedded_interpreter
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2015-11-13 10:02:36 +0000
committerJames Molloy <james.molloy@arm.com>2015-11-13 10:02:36 +0000
commitbb1dbf530a186cd923e867a40f389a2863f05d38 (patch)
treeb639587d207f31e8d6d79777cc6ed2cb5453fdc5 /lldb/packages/Python/lldbsuite/test/functionalities/embedded_interpreter
parentb2f75136d1f0c5a9f4a9695acbfde28e600553b3 (diff)
downloadbcm5719-llvm-bb1dbf530a186cd923e867a40f389a2863f05d38.tar.gz
bcm5719-llvm-bb1dbf530a186cd923e867a40f389a2863f05d38.zip
[SDAG] Fix expansion of BITREVERSE
Richard Trieu noted that UBSan detected an overflowing shift, and the obvious fix caused a crash. What was happening was that the shiftee (1U) was indeed too small for the possible range of shifts it had to handle, but also we were using "VT.getSizeInBits()" to get the maximum type bitwidth, but we wanted "VT.getScalarSizeInBits()" to get the vector lane size instead of the entire vector size. Use an APInt for the shift and VT.getScalarSizeInBits(). llvm-svn: 253023
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/embedded_interpreter')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud