[PATCH] D101900: [InstCombine] Fold extractelement + vector GEP with one use

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 13 03:45:03 PDT 2021


fhahn added inline comments.


================
Comment at: llvm/test/Transforms/InstCombine/gep-vector-indices.ll:92
+
+; Negative tests
+
----------------
CarolineConcatto wrote:
> Should we add a negative test for this too:
> //  3. We have a vector of pointers and a vector of indices.
Do we have test cases where the GEP has other users? And where the `extractelement` has a variable index?


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

https://reviews.llvm.org/D101900



More information about the llvm-commits mailing list