diff options
author | Sanjay Patel <spatel@rotateright.com> | 2018-12-03 21:15:17 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2018-12-03 21:15:17 +0000 |
commit | 8c655150827b5d56772e628994db08441c554097 (patch) | |
tree | a3ba34b619e2947c3ca60da932191d5f064b4e84 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp | |
parent | 660f9c943ff34c3e30708e848407961b462c070d (diff) | |
download | bcm5719-llvm-8c655150827b5d56772e628994db08441c554097.tar.gz bcm5719-llvm-8c655150827b5d56772e628994db08441c554097.zip |
[InstCombine] fix undef propagation bug with shuffle+binop
When we have a shuffle that extends a source vector with undefs
and then do some binop on that, we must make sure that the extra
elements remain undef with that binop if we reverse the order of
the binop and shuffle.
'or' is probably the easiest example to show the bug because
'or C, undef --> -1' (not undef). But there are other
opcode/constant combinations where this is true as shown by
the 'shl' test.
llvm-svn: 348191
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp')
0 files changed, 0 insertions, 0 deletions