================
----------------
artagnon wrote:
See
```cpp
if (Instruction::isCast(Opcode) ||
is_contained(ArrayRef<unsigned>({Instruction::ExtractValue,
Instruction::Load, Instruction::Alloca}),
Opcode))
return I->getType();
```
https://github.com/llvm/llvm-project/pull/203019