HomePhabricator

[Transforms] Redundant getValueOperand (NFC)

Description

[Transforms] Redundant getValueOperand (NFC)

StoreInst::getValueOperand is identical to getOperand(0), so the call to
getOperand(0) can be replaced. Further, SI->getValueOperand is redundantly
called just a few lines down, despite its return value being stored in variable
DV. No functional change.

Details