diff options
author | Sanjay Patel <spatel@rotateright.com> | 2019-12-21 10:31:21 -0500 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2019-12-21 10:31:21 -0500 |
commit | 79c7fa31f3aafba77862325cdc70a3ece7f71950 (patch) | |
tree | e3b6de07d420479eb5162731ef5187e122411c28 /lldb/source/Commands/CommandObjectCommands.cpp | |
parent | 19f9f374d9afe3efd33dc1943d3d7fd2c54fba76 (diff) | |
download | llvm-79c7fa31f3aafba77862325cdc70a3ece7f71950.zip llvm-79c7fa31f3aafba77862325cdc70a3ece7f71950.tar.gz llvm-79c7fa31f3aafba77862325cdc70a3ece7f71950.tar.bz2 |
[InstCombine] check alloc size in bitcast of geps fold (PR44321)
We missed a constraint in D44833
when folding a bitcast into a GEP with vector/array types.
If the alloc sizes specified by the datalayout don't match,
this could miscompile as shown in:
https://bugs.llvm.org/show_bug.cgi?id=44321
Differential Revision: https://reviews.llvm.org/D71771
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
0 files changed, 0 insertions, 0 deletions