<div dir="ltr"><div>How many different KINDS of fixup do you really need? As they are target-specific, each target can indeed have 127 or 128 of them (not sure if the max is inclusive or exclusive) - there are 20 different "common" ones, and I don't really see what an architecture would look like that has a huge number more than that.<br><br></div><div>If there is a specific and useful purpose to increase them, I expect that can be done, but my personal opinion would be that it seems unnecessary to change this - at least without understanding what the use-case is for this. [And should one particular architecture have an extreme number of fixup variations, I would imagine that there are other better solutions, e.g. grouping them into groups and then having other metadata to represent the variant internally in that metadata].<br></div><div><br>--<br></div>Mats<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 5 December 2017 at 15:25, Konstantin Vladimirov via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I wonder why MaxTargetFixupKind  (include/llvm/MC/MCFixup.h) limiting<br>
user-specific fixup kinds to 128 (i.e. MaxTargetFixupKind -<br>
FirstTargetFixupKind)<br>
<br>
  FirstTargetFixupKind = 128,<br>
<br>
  // Limit range of target fixups, in case we want to pack more efficiently<br>
  // later.<br>
  MaxTargetFixupKind = (1 << 8)<br>
<br>
May this be done backend dependent?<br>
<br>
---<br>
With best regards, Konstantin<br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
</blockquote></div><br></div>