[PATCH] D76983: [InstCombine] Transform extractelement-trunc -> bitcast-extractelement

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 30 16:57:19 PDT 2020


spatel added a comment.

In D76983#1951210 <https://reviews.llvm.org/D76983#1951210>, @dsprenkels wrote:

> - Updated ExtractCast.ll test.
>
>   Should I explicitly add the data layout in ExtractCast.ll, because the added assertions are only valid on little endian platforms?


I don’t see a need for that. That test is practically identical to the tests we added explicitly for this transform.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D76983





More information about the llvm-commits mailing list