Replace magic constant 4095 with the function getMaxMUBUFImmOffset().
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Looks fine to me, thanks.
It's a bit unfortunate that some functions return the max offset value and others return the size of the offset field in bits, but we can always clean that up later if necessary.