[TypePromotion] Use Instruction* instead of Value* for a couple functions. NFC
authorCraig Topper <craig.topper@sifive.com>
Wed, 18 Aug 2021 22:02:33 +0000 (15:02 -0700)
committerCraig Topper <craig.topper@sifive.com>
Thu, 19 Aug 2021 14:09:38 +0000 (07:09 -0700)
commitc60a4c1ba5980754f78765120c1ae88e1fe3cb32
treef8964d25364aa18198cc79367c2331dbd916a56c
parent36d8316cc8b6ab85d0d3ed46a04490afa5e49a29
[TypePromotion] Use Instruction* instead of Value* for a couple functions. NFC

This matches how they are called and allows some isa/cast/dyn_cast
to be removed.

Differential Revision: https://reviews.llvm.org/D108333
llvm/lib/CodeGen/TypePromotion.cpp