Chris Lattner d92515034f scalarrepl should not split the two elements of the vsiidx array:
int func(vFloat v0, vFloat v1) {
        int ii;
        vSInt32 vsiidx[2];
        vsiidx[0] = _mm_cvttps_epi32(v0);
        vsiidx[1] = _mm_cvttps_epi32(v1);
        ii = ((int *) vsiidx)[4];
        return ii;
}

This fixes Transforms/ScalarRepl/2006-11-07-InvalidArrayPromote.ll


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31524 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-07 22:42:47 +00:00
..
2006-11-02 20:25:50 +00:00
2006-11-02 20:25:50 +00:00
2006-11-05 19:31:28 +00:00
2006-11-02 20:25:50 +00:00
2006-10-20 07:07:24 +00:00
2006-10-20 07:07:24 +00:00