[ConstantFold] use StoreSize for VectorType folding
authorkhei4 <kk.asano.luxy@gmail.com>
Mon, 15 May 2023 13:33:15 +0000 (22:33 +0900)
committerkhei4 <kk.asano.luxy@gmail.com>
Mon, 15 May 2023 14:04:47 +0000 (23:04 +0900)
commitf5dbbf494ff0020978d7cdd052980e9ab9c05edb
tree8eac6855db560091e5da404cdeaacbf7451a86b8
parent627e6efa5b274db10564ace161d2ef583ddfcb66
[ConstantFold] use StoreSize for VectorType folding
Differential Revision: https://reviews.llvm.org/D150515
Reviewed By: nikic
llvm/lib/Analysis/ConstantFolding.cpp
llvm/test/Transforms/InstCombine/load-gep-overalign.ll
llvm/test/Transforms/InstCombine/load.ll