[LLVMdev] hard values in SequentialType::indexValid () method

Chris Lattner clattner at apple.com
Tue Aug 19 14:04:57 PDT 2008


On Aug 19, 2008, at 6:54 AM, Alireza.Moshtaghi at microchip.com wrote:
> What is the reason for getelementptr being tied to only 32 or 64 bit
> indexes?

As usual, the answer is "that is all anyone has needed so far" :)

> Anyways, this is getting in our way. What is your suggestion?

Two options: 1) change LLVM IR to allow it, or 2) just insert sign/ 
zero extension instructions.

Does this actually affect the code being generated in practice?

-Chris



More information about the llvm-dev mailing list