diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2015-06-27 08:38:17 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2015-06-27 08:38:17 +0000 |
| commit | 9f3979fd782dc823cc0cdf38c69a14812e5254a8 (patch) | |
| tree | aef23faf69c6eeeaaa2b04b94bc8217ef6b82860 /llvm/test/Object/objdump-file-header.test | |
| parent | 5185c3c271418eeac9ce8588210c9e103cdd08d4 (diff) | |
| download | bcm5719-llvm-9f3979fd782dc823cc0cdf38c69a14812e5254a8.tar.gz bcm5719-llvm-9f3979fd782dc823cc0cdf38c69a14812e5254a8.zip | |
[LoopVectorize] Pointer indicies may be wider than the pointer
If we are dealing with a pointer induction variable, isInductionPHI
gives back a step value of Stride / size of pointer. However, we might
be indexing with a legal type wider than the pointer width.
Handle this by inserting casts where appropriate instead of crashing.
This fixes PR23954.
llvm-svn: 240877
Diffstat (limited to 'llvm/test/Object/objdump-file-header.test')
0 files changed, 0 insertions, 0 deletions

