[LLVMdev] eleminate unsigned long long in llc march=c

Duncan Sands baldrick at free.fr
Sun Jul 24 06:35:34 PDT 2011


> Hi, I tried llc march=c to export c codes, and codes are really good, except 
> that I have a lagged compiler that don't recognize long long type, including the 
> long long constants like 0ull
> so is there a switch for that or what should I do?

probably "long long" is used to represent 64 bit quantities on 32 bit machines.
If your compiler can't handle 64 bit integers then I think you are in trouble: I
don't know of a workaround.

Ciao, Duncan.

More information about the llvm-dev mailing list