aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/BranchFolding.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-11-07 22:42:47 +0000
committerChris Lattner <sabre@nondot.org>2006-11-07 22:42:47 +0000
commitd92515034fc4157850b981f696702cc2f35733f0 (patch)
treeb01e22b9fd8a460a1f5ce98a53a7917aa86cc3d7 /lib/CodeGen/BranchFolding.cpp
parent03507f53c495e5a91e3c83120bdcb5be5d024950 (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