[LLVMdev] Transforms/LevelRaise.cpp fails on packed types
Chris Lattner
sabre at nondot.org
Wed Jan 19 08:17:57 PST 2005
On Wed, 19 Jan 2005, Morten Ofstad wrote:
> after I started using packed types things have gone quite well, but now I hit
> a small problem again. The LevelRaise.cpp does some optimizing on getting the
> first element of a struct/array -- and now also packed types, so the
> assumption that if something is not a struct it must be an array is false.
> The solution is simple: if it's not an array it's a sequential type. Here is
> the patch.
Applied, thanks!
-Chris
--
http://nondot.org/sabre/
http://llvm.cs.uiuc.edu/
More information about the llvm-dev
mailing list