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 | d92515034fc4157850b981f696702cc2f35733f0 (patch) | |
tree | b01e22b9fd8a460a1f5ce98a53a7917aa86cc3d7 /lib/CodeGen/BranchFolding.cpp | |
parent | 03507f53c495e5a91e3c83120bdcb5be5d024950 (diff) |
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
Diffstat (limited to 'lib/CodeGen/BranchFolding.cpp')
0 files changed, 0 insertions, 0 deletions