summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-06-27 08:38:17 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-06-27 08:38:17 +0000
commit9f3979fd782dc823cc0cdf38c69a14812e5254a8 (patch)
treeaef23faf69c6eeeaaa2b04b94bc8217ef6b82860 /llvm/lib/CodeGen
parent5185c3c271418eeac9ce8588210c9e103cdd08d4 (diff)
downloadbcm5719-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/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud