Add test to show missed optimization for masked load/stores
authorBenjamin Maxwell <benjamin.maxwell@arm.com>
Wed, 12 Oct 2022 11:25:51 +0000 (11:25 +0000)
committerMatt Devereau <matthew.devereau@arm.com>
Wed, 12 Oct 2022 17:43:54 +0000 (17:43 +0000)
commit14b9505be9d10513b4ca0a22a73a158bf28d0959
tree43be18c2f7140e26e560ad5becc9eefe8ba18a6f
parent0849f0a5a38a16f52d7c698b7b024bd58942fab7
Add test to show missed optimization for masked load/stores

This test shows instcombine failing to remove a alloca and memcpy for
for a constant array that is read with a masked load.

This will be addressed in a subsequent commit.
llvm/test/Transforms/InstCombine/load-store-masked-constant-array.ll [new file with mode: 0644]