[LLVMdev] Is there any real use for bitness information from triples for new backends?

Kuba Ober kuba at mareimbrium.org
Mon Mar 3 21:31:25 PST 2014


Hi,

I’m working on an [e]Z8 port of LLVM. I’m wondering if there’s any real use for the
bitness information from llvm::Triple? For example, what’s the use of isArch16bit?
Does anyone really care about it?

So far, I’ve declared the z8 to be a 16 bit platform, but that’s pretty meaningless.
Internally, the Z8 and eZ8 has both 8 and 16 bit pointers, and any particular project
may use a mix of them.

Cheers, Kuba



More information about the llvm-dev mailing list