Revert "[SROA] Check typeSizeEqualsStoreSize in isVectorPromotionViable"
authorDouglas Yung <douglas.yung@sony.com>
Fri, 23 Sep 2022 18:23:51 +0000 (11:23 -0700)
committerDouglas Yung <douglas.yung@sony.com>
Fri, 23 Sep 2022 19:24:07 +0000 (12:24 -0700)
commit0a7f4e03a9a19d3b48190b982b707036d95d99f5
tree92ee68fbb8e150f6b78a21d89370441214996f08
parent0ba2a3c44f02ca6b31c339ee6e5dacbd9b8573a8
Revert "[SROA] Check typeSizeEqualsStoreSize in isVectorPromotionViable"

This reverts commit 3f08d248c44c744deda38423409b86720822739e.

The commit this change is fixing is being reverted due to GHI #57796 and #37821, so revert this commit as well.
llvm/lib/Transforms/Scalar/SROA.cpp
llvm/test/Transforms/SROA/vector-promotion.ll