This is an archive of the discontinued LLVM Phabricator instance.

Add MachineOperand::ChangeToFPImmediate
ClosedPublic

Authored by arsenm on Sep 28 2014, 11:29 AM.

Details

Reviewers
hfinkel
Summary

I'm not sure why there isn't just a replaceOperand which works for all MO types

Diff Detail

Event Timeline

arsenm updated this revision to Diff 14146.Sep 28 2014, 11:29 AM
arsenm retitled this revision from to Add MachineOperand::ChangeToFPImmediate .
arsenm updated this object.
arsenm edited the test plan for this revision. (Show Details)
arsenm added a subscriber: Unknown Object (MLST).

Full-context diffs please ;)

include/llvm/CodeGen/MachineOperand.h
547

This comment needs to be updated. Also, are you going to add an setFPImm?

arsenm updated this revision to Diff 14150.Sep 28 2014, 12:09 PM

Add more diff context, add setFPImm, fix function name comment. I think the repeated name in the comment can be deleted with current doxygen, but the others here here already have it.

hfinkel accepted this revision.Sep 28 2014, 12:12 PM
hfinkel added a reviewer: hfinkel.

LGTM

include/llvm/CodeGen/MachineOperand.h
554

Should say setFPImm

This revision is now accepted and ready to land.Sep 28 2014, 12:12 PM
arsenm closed this revision.Sep 28 2014, 12:35 PM

r218579