summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/anonymous-struct
diff options
context:
space:
mode:
authorGuozhi Wei <carrot@google.com>2018-08-15 22:08:26 +0000
committerGuozhi Wei <carrot@google.com>2018-08-15 22:08:26 +0000
commit8c17f9a77d907532948b34672be5207577568d68 (patch)
tree728705d956384b06974ef4b795b7eb8590233cc0 /lldb/packages/Python/lldbsuite/test/expression_command/anonymous-struct
parentf533e6b0edf84d7a498fe10f45ed34f53eac7425 (diff)
downloadbcm5719-llvm-8c17f9a77d907532948b34672be5207577568d68.tar.gz
bcm5719-llvm-8c17f9a77d907532948b34672be5207577568d68.zip
[CodeGenPrepare] Add BothExtension type to PromotedInsts
This patch fixes PR38125. Instruction extension types are recorded in PromotedInsts, it can be used later in function canGetThrough. If an instruction has two users with different extension types, it will be inserted into PromotedInsts two times in function promoteOperandForOther. The second one overwrites the first one, and the final extension type is wrong, later causes problem in canGetThrough. This patch changes the simple bool extension type to 2-bit enum type, add a BothExtension type in addition to zero/sign extension. When an user sees BothExtension for an instruction, it actually knows nothing about how that instruction is extended. Differential Revision: https://reviews.llvm.org/D49512 llvm-svn: 339822
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/anonymous-struct')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud