[PATCH] D88386: [MIR][M68K] (Patch 2/8): Changes on Target-independent MIR part

Renato Golin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 17 02:58:42 PST 2020


rengolin added inline comments.


================
Comment at: llvm/include/llvm/CodeGen/TargetInstrInfo.h:947
+  /// @return Whether this operand is allowed to be pc-relative.
+  virtual bool isRegisterOperandPCRel(const MachineOperand &MO) const {
+    return false;
----------------
Shouldn't you also have added the derived implementations for each target?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88386/new/

https://reviews.llvm.org/D88386



More information about the llvm-commits mailing list