[PATCH] D23067: TargetInstrInfo: add two new target hooks to analyse branch offsets

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 2 10:03:26 PDT 2016


arsenm added inline comments.

================
Comment at: include/llvm/Target/TargetInstrInfo.h:486
@@ +485,3 @@
+  /// false otherwise.
+  virtual bool isBranchOffsetInRange(unsigned Opcode, int Offset) const {
+    return true;
----------------
I was debating whether this should provide the complete branch and dest block offsets, or if one single offset. In either case the types should be int64_t 


https://reviews.llvm.org/D23067





More information about the llvm-commits mailing list