[PATCH] D41463: [CodeGen] Add a new pass for PostRA sink

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 16 17:36:45 PDT 2018


MatzeB added inline comments.


================
Comment at: llvm/trunk/include/llvm/CodeGen/TargetInstrInfo.h:961
+  /// Remember what registers the specified instruction uses and modifies.
+  virtual void trackRegDefsUses(const MachineInstr &MI, BitVector &ModifiedRegs,
+                                BitVector &UsedRegs,
----------------
Why did you put this function into TargetInstrInfo? There is nothing target specific about it. In fact I would heavily object if a target would actually override this!


Repository:
  rL LLVM

https://reviews.llvm.org/D41463





More information about the llvm-commits mailing list