diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2019-02-15 15:24:34 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2019-02-15 15:24:34 +0000 |
commit | 59ecdb0d8be4a84b38c3451812f6c55c10b1cc82 (patch) | |
tree | 729883adb9ee49508950a095f69989625ecc7ab9 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py | |
parent | 4673fdc5311334da6bd1d0638e2cdb3e1424b0b5 (diff) | |
download | bcm5719-llvm-59ecdb0d8be4a84b38c3451812f6c55c10b1cc82.tar.gz bcm5719-llvm-59ecdb0d8be4a84b38c3451812f6c55c10b1cc82.zip |
GlobalISel: Fix inadequate verification of g_build_vector
Testing based on the total size of the elements failed to catch a few
invalid scenarios, so explicitly check the number of elements/operands
and types.
This failed to catch situations like
<4 x s16> = G_BUILD_VECTOR s32, s32 since the total size added
up. This also would fail to catch an implicit conversion between
pointers and scalars.
llvm-svn: 354139
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py')
0 files changed, 0 insertions, 0 deletions