[InstCombine] Remove some pointer element type accesses
authorNikita Popov <npopov@redhat.com>
Thu, 27 Jan 2022 09:14:44 +0000 (10:14 +0100)
committerNikita Popov <npopov@redhat.com>
Thu, 27 Jan 2022 09:15:35 +0000 (10:15 +0100)
commit8d992862a0281d595d08d172ab6fb48f8cd7395c
tree1b3faad7b8506e1bcab7a1debb2c4646cd9a751b
parent84e85e025e02211d1f24ea423cd1be8945e70009
[InstCombine] Remove some pointer element type accesses

One of these is guarded against opaque pointers, and the others
were accessing the call function type in a rather convoluted way.
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp