OSDN Git Service

[InstCombine] add bitcast+extelt helper function; NFC
authorSanjay Patel <spatel@rotateright.com>
Mon, 24 Sep 2018 20:41:22 +0000 (20:41 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 24 Sep 2018 20:41:22 +0000 (20:41 +0000)
commit5171686681ca77f92f1aef8dcee5d305327739cf
treefcf27eae4adf56971c60ce004eee0cb9766094b8
parent8ce2d0f5468ff34c700f32295bd060a35c7d23c9
[InstCombine] add bitcast+extelt helper function; NFC

We can handle patterns where the elements have different
sizes, so refactoring ahead of trying to add another blob
within these clauses.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@342918 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineVectorOps.cpp