[PATCH] D40913: TLI: Allow using PSV for intrinsic mem operands

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 14 11:57:57 PST 2017


arsenm added inline comments.


================
Comment at: include/llvm/CodeGen/TargetLowering.h:723
   virtual bool getTgtMemIntrinsic(IntrinsicInfo &, const CallInst &,
+                                  MachineFunction &,
                                   unsigned /*Intrinsic*/) const {
----------------
hfinkel wrote:
> Why are you adding this?
You need the MachineFunction to create a new PseudoSourceValue. Target custom pseudo types live in the target's MachineFunctionInfo


https://reviews.llvm.org/D40913





More information about the llvm-commits mailing list