[llvm-dev] MaxTargetFixupKind -- why is it so limiting?

Konstantin Vladimirov via llvm-dev llvm-dev at lists.llvm.org
Tue Dec 5 07:25:43 PST 2017


Hi,

I wonder why MaxTargetFixupKind  (include/llvm/MC/MCFixup.h) limiting
user-specific fixup kinds to 128 (i.e. MaxTargetFixupKind -
FirstTargetFixupKind)

  FirstTargetFixupKind = 128,

  // Limit range of target fixups, in case we want to pack more efficiently
  // later.
  MaxTargetFixupKind = (1 << 8)

May this be done backend dependent?

---
With best regards, Konstantin


More information about the llvm-dev mailing list