[llvm-dev] RFC: On removing magic numbers assuming 8-bit bytes
Jesper Antonsson via llvm-dev
llvm-dev at lists.llvm.org
Fri May 10 04:34:47 PDT 2019
On Thu, 2019-05-09 at 12:46 -0700, Eric Christopher wrote:
> I agree that consensus seems to be missing. There's definitely some
> assumptions, and more in particular, API and usage assumptions around
> 8 bit bytes in the backends. Also: How do you plan on keeping these
> assumptions from creeping back in?
We propose gradually abstracting the magic numbers only. We merge and
test our OOT backend nightly toward top-of-tree so we would catch new
ones and fix them. However, contributors tend to follow the example of
pre-existing code, so it should happen less frequently than it does
today.
BR, Jesper
More information about the llvm-dev
mailing list