diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-07-09 16:01:04 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-07-09 16:01:04 +0000 |
commit | 55a4b6700f61f5a51a32e652368503b7583b971a (patch) | |
tree | 67a95e06eb84bc1ea47b6c3db72ccf73b8792967 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
parent | 983f7915ac9211fa4e97c506c94e49e7fb920411 (diff) | |
download | bcm5719-llvm-55a4b6700f61f5a51a32e652368503b7583b971a.tar.gz bcm5719-llvm-55a4b6700f61f5a51a32e652368503b7583b971a.zip |
Handle ConstantExpr correctly in SelectionDAGBuilder
This change fixes a bug in SelectionDAGBuilder::visitInsertValue and SelectionDAGBuilder::visitExtractValue where constant expressions (InsertValueConstantExpr and ExtractValueConstantExpr) would be treated as non-constant instructions (InsertValueInst and ExtractValueInst). This bug resulted in an incorrect memory access, which manifested as an assertion failure in SDValue::SDValue.
Fixes PR#33094.
Submitted on behalf of @Praetonus (Benoit Vey)
Differential Revision: https://reviews.llvm.org/D34538
llvm-svn: 307502
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions