[NFC][InstCombine] foldAggregateConstructionIntoAggregateReuse(): cast to Instruction...
authorRoman Lebedev <lebedev.ri@gmail.com>
Tue, 29 Jun 2021 10:25:32 +0000 (13:25 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Tue, 29 Jun 2021 10:29:18 +0000 (13:29 +0300)
commit6cf6f6f65fde9638a2ca64cd8013d0d0ab1d473c
tree9b63fc3a994b37cd2f9ec3c01ba6dce5d59c98c6
parent7dec20dbb6ae4a095e586c94eca59008506b5de5
[NFC][InstCombine] foldAggregateConstructionIntoAggregateReuse(): cast to Instruction eagerly

In all of these, the value must be an instruction for us to succeed anyway,
so change it to maybe hopefully make further changes more straight-forward.
llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp