diff options
author | Chris Lattner <sabre@nondot.org> | 2007-11-19 21:38:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-11-19 21:38:03 +0000 |
commit | 09c0393d5ebcc4a96566641ec5bc8dadab74e88f (patch) | |
tree | 5f01d1566746ff1a4510e492edb5a868b29f3423 /llvm/lib/Analysis/ScalarEvolution.cpp | |
parent | 6fa95ec19d7cea3abe841a268b5c5f89b3df6ba9 (diff) | |
download | bcm5719-llvm-09c0393d5ebcc4a96566641ec5bc8dadab74e88f.tar.gz bcm5719-llvm-09c0393d5ebcc4a96566641ec5bc8dadab74e88f.zip |
ExpandUnalignedLoad doesn't handle vectors right at all apparently.
Fix a couple of problems:
1. Don't assume the VT-1 is a VT that is half the size.
2. Treat vectors of FP in the vector path, not the FP path.
This has a couple of remaining problems before it will work with
the code in PR1811: the code below this change assumes that it can
use extload/shift/or to construct the result, which isn't right for
vectors.
This also doesn't handle vectors of 1 or vectors that aren't pow-2.
llvm-svn: 44243
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
0 files changed, 0 insertions, 0 deletions