[LLVMdev] Regarding hard-coded i8 Type creation.

Arsen Hakobyan artinetstudio at gmail.com
Thu Nov 7 00:53:47 PST 2013


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



--
View this message in context: http://llvm.1065342.n5.nabble.com/Regarding-hard-coded-i8-Type-creation-tp62959.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.



More information about the llvm-dev mailing list