summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit4967f6ddeaf6c39d8a886f624b19199f5ed8ea01 (patch)
tree49c5268f2d5892d5daeb87579da9696a65eb6d42 /llvm/lib/CodeGen/BranchFolding.cpp
parent2d7a5d9b5def99c85dc1d61616dffb4e59be84ee (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud