HomePhabricator

[Transforms] Redundant getValueOperand (NFC)

Authored by modocache on Apr 2 2019, 7:57 AM.

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.

llvm-svn: 357479

Details