[PATCH] D93990: [InstSimplify] Return poison if insertelement touches out of bounds

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 3 07:30:50 PST 2021


nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/test/Transforms/InstCombine/vector_insertelt_shuffle-inseltpoison.ll:57
 
 ; Out of bounds index folds to undef
 define <4 x float> @bazzz(<4 x float> %x) {
----------------
Update comment


================
Comment at: llvm/test/Transforms/InstCombine/vector_insertelt_shuffle.ll:57
 
 ; Out of bounds index folds to undef
 define <4 x float> @bazzz(<4 x float> %x) {
----------------
Update comment


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93990



More information about the llvm-commits mailing list