commit | 1d7a67937c4624967442dae997a6cd0c0a9c0b72 | [log] [tgz] |
---|---|---|
author | David Majnemer <david.majnemer@gmail.com> | Mon Dec 14 19:30:32 2015 +0000 |
committer | David Majnemer <david.majnemer@gmail.com> | Mon Dec 14 19:30:32 2015 +0000 |
tree | 9eabae153557736973ebb7a66317209a8fa73609 | |
parent | 040ff9fa3ea79016a8e95c013adc52ce4cc7eee2 [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255536 91177308-0d34-0410-b5e6-96231b3b80d8