diff options
author | Chris Lattner <sabre@nondot.org> | 2006-11-07 22:42:47 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-11-07 22:42:47 +0000 |
commit | 4967f6ddeaf6c39d8a886f624b19199f5ed8ea01 (patch) | |
tree | 49c5268f2d5892d5daeb87579da9696a65eb6d42 /llvm/lib/CodeGen/BranchFolding.cpp | |
parent | 2d7a5d9b5def99c85dc1d61616dffb4e59be84ee (diff) | |
download | bcm5719-llvm-4967f6ddeaf6c39d8a886f624b19199f5ed8ea01.tar.gz bcm5719-llvm-4967f6ddeaf6c39d8a886f624b19199f5ed8ea01.zip |
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
llvm-svn: 31524
Diffstat (limited to 'llvm/lib/CodeGen/BranchFolding.cpp')
0 files changed, 0 insertions, 0 deletions