Regarding hard-coded i8 Type creation.

Hi all,

I have found that in LLVM Front-End there are a lot of codes containing a
hard-coded i8 type generation (with using of the function
llvm::Type::getInt8Tyand()) and a lot of computations (basically in LLVM
passes) which consider that the char size provided by the target is an 8
bit.

So if I want to add a support for a target which considers 16 bit for
characters I have to change all this codes.
Is there more comfortable way to add target support in LLVM Front-End like
it is can be added in Back-End.

Thanks,
Arsen

Hi all,

I am still interested in this topic.
I would appreciate if someone could answer.

Thanks,
Arsen