[PATCH] D63375: [ConstantFolding] Fix assertion failure on non-power-of-two vector load.

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 15 07:49:13 PDT 2019


foad added a comment.

In D63375#1544851 <https://reviews.llvm.org/D63375#1544851>, @hfinkel wrote:

> > The test case does an (out of bounds) load from a global constant with type <3 x float>.
>
> Do you need an out-of-bounds access to trigger the problem?


Yes to prevent it from being handled earlier by llvm::ConstantFoldLoadThroughGEPConstantExpr.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63375/new/

https://reviews.llvm.org/D63375





More information about the llvm-commits mailing list