[InstCombine] [NFC] Use a pattern matcher for ExtractElementInst
authorChenbing Zheng <Chenbing.Zheng@streamcomputing.com>
Fri, 20 May 2022 01:56:33 +0000 (09:56 +0800)
committerChenbing Zheng <Chenbing.Zheng@streamcomputing.com>
Fri, 20 May 2022 02:31:40 +0000 (10:31 +0800)
commitcf348f6a2cac654bfc97dda964c319066bb9c961
tree9f4bac2ebcbd075b7636724d725c977a08415d09
parentd33c36235df1925b894acd1352ba0d541e97afac
[InstCombine] [NFC] Use a pattern matcher for ExtractElementInst

Reviewed By: RKSimon, rampitec

Differential Revision: https://reviews.llvm.org/D125857
llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp