diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-12-14 19:30:32 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-12-14 19:30:32 +0000 |
commit | 59be1d653ae63bcb0146151a70513ca39e241647 (patch) | |
tree | 7a7fd90a51b578dc054cdea4b8563b9daef897bc /llvm/lib/CodeGen/DFAPacketizer.cpp | |
parent | 45ea8fa1f423a9d44be1152263eec986ca5773ee (diff) | |
download | llvm-59be1d653ae63bcb0146151a70513ca39e241647.zip llvm-59be1d653ae63bcb0146151a70513ca39e241647.tar.gz llvm-59be1d653ae63bcb0146151a70513ca39e241647.tar.bz2 |
[ConstantFold] Fix bitcast to gep constant folding transform.
Make sure to check that the destination type is sized.
A check was present but was incorrectly checking the source type
instead.
Patch by Amaury SECHET!
Differential Revision: http://reviews.llvm.org/D15264
llvm-svn: 255536
Diffstat (limited to 'llvm/lib/CodeGen/DFAPacketizer.cpp')
0 files changed, 0 insertions, 0 deletions