Displaying 2 results from an estimated 2 matches for "test_postinc".
2006 Dec 19
0
[LLVMdev] Post-increments and pre-decrements
...And I can see
that DAGCombiner::CombineToPostIndexedLoadStore is invoked. But this
function never does any replacements and very seldomly invoke
getPostIndexedAddressParts and so on, even in those situations where I
would assume it.
For example, it does not use these modes for the code like:
void test_postinc(int array[], int i)
{
array[i] = 1;
array[i+1] = 1;
array[i+2] = 1;
array[i+3] = 1;
}
So, I'm wondering how good is the support for these modes in LLVM? Do I
miss something which should be implemented for my target to enable it?
It looks like only PowerPC backend tries to make use of i...
2006 Nov 29
3
[LLVMdev] FP emulation (continued)
Hi Chris,
--- Chris Lattner <sabre at nondot.org> wrote:
> On Wed, 29 Nov 2006, Roman Levenstein wrote:
> > Thanks, this is a good idea.
> >
> > But I cannot figure out how to make a machine function pass run
> > _BEFORE_ the RA. I guess I'm missing something very obvious.
>
> In your target's TargetMachine::addInstSelector method, add it to the