diff options
author | Philip Reames <listmail@philipreames.com> | 2019-04-30 23:09:26 +0000 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2019-04-30 23:09:26 +0000 |
commit | 84e54eb4710feca56d2c4541af8602f1ee7c0155 (patch) | |
tree | 77ef05a32dce73dc102dcb6bb8c88ac4066ed473 /lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py | |
parent | 40f98d4b78daa37febe019aed72fdc54380752e9 (diff) | |
download | bcm5719-llvm-84e54eb4710feca56d2c4541af8602f1ee7c0155.tar.gz bcm5719-llvm-84e54eb4710feca56d2c4541af8602f1ee7c0155.zip |
[InstCombine] Limit a vector demanded elts rule which was producing invalid IR.
The demanded elts rules introduced for GEPs in https://reviews.llvm.org/rL356293 replaced vector constants with undefs (by design). It turns out that the LangRef disallows such cases when indexing structs. The right fix is probably to relax the langref requirement, and update other passes to expect the result, but for the moment, limit the transform to avoid compiler crashes.
This should fix https://bugs.llvm.org/show_bug.cgi?id=41624.
llvm-svn: 359633
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py')
0 files changed, 0 insertions, 0 deletions