[InstCombine] Limit simplifyAllocaArraySize constant folding to values that fit into...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 13 Aug 2018 16:50:20 +0000 (16:50 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 13 Aug 2018 16:50:20 +0000 (16:50 +0000)
commit82edf8d3297ea234698466ed7b7febb447e74ed1
tree3477bb964cbc3b89e471cde25920ad65019f6753
parent5e6bd2f8a9bf3ddef78212488bfda466fa1bfd4f
[InstCombine] Limit simplifyAllocaArraySize constant folding to values that fit into a uint64_t

Fixes OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5223

llvm-svn: 339584
llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
llvm/test/Transforms/InstCombine/alloca-big.ll [new file with mode: 0644]