This is an archive of the discontinued LLVM Phabricator instance.

TLI: Allow using PSV for intrinsic mem operands
ClosedPublic

Authored by arsenm on Dec 6 2017, 11:26 AM.

Details

Reviewers
hfinkel

Diff Detail

Event Timeline

arsenm created this revision.Dec 6 2017, 11:26 AM
hfinkel added inline comments.
include/llvm/CodeGen/TargetLowering.h
723

Why are you adding this?

arsenm added inline comments.Dec 14 2017, 11:57 AM
include/llvm/CodeGen/TargetLowering.h
723

You need the MachineFunction to create a new PseudoSourceValue. Target custom pseudo types live in the target's MachineFunctionInfo

hfinkel accepted this revision.Dec 14 2017, 12:25 PM

LGTM

include/llvm/CodeGen/TargetLowering.h
723

Ah, right. That's how you get the PseudoSourceValueManager reference.

This revision is now accepted and ready to land.Dec 14 2017, 12:25 PM
arsenm closed this revision.Dec 14 2017, 2:34 PM

r320756