aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-10-30 03:27:15 +0000
committerCraig Topper <craig.topper@intel.com>2018-10-30 03:27:15 +0000
commitb293322cee173b953845ce1a68975944a4df0a72 (patch)
treef44c8c3e1dd8e5383a4e5f9b8787c34a63411995 /lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h
parent2640795c94cad6863c66cffd30e8e217dd3ac506 (diff)
downloadllvm-b293322cee173b953845ce1a68975944a4df0a72.zip
llvm-b293322cee173b953845ce1a68975944a4df0a72.tar.gz
llvm-b293322cee173b953845ce1a68975944a4df0a72.tar.bz2
[LegalizeTypes] Teach PromoteIntRes_BITCAST to better handle a bitcast with vector output type and a vector input type that needs to be widened
Summary: Previously if we had a bitcast vector output type that needs promotion and a vector input type that needs widening we would just do a stack store and load to handle the conversion. We can do a little better if we can widen the bitcast to a legal vector type the same size as the widened input type. Then we can do the bitcast between this widened type and the widened input type. Afterwards we can extract_subvector back to the original output and any_extend that. Type legalization will then circle back and handle promotion of the extract_subvector and the any_extend will just be removed. This will avoid going through the stack and allows us to remove a custom version of this legalization from X86. Reviewers: efriedma, RKSimon Reviewed By: efriedma Subscribers: javed.absar, llvm-commits Differential Revision: https://reviews.llvm.org/D53229 llvm-svn: 345567
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h')
0 files changed, 0 insertions, 0 deletions