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

Sjoerd Meijer via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 16 12:27:35 PDT 2016


SjoerdMeijer added a comment.

Do you mean that having function isBranchOffsetInRange is enough? I agree, but for a block placement algorithm that would possibly require invoking it a lot of times. Thus I thought exposing the ranges would be convenient.


https://reviews.llvm.org/D23067





More information about the llvm-commits mailing list