Rafael Espindola
885727581c
Correctly allign arrays on 32 bit systems.
...
Before this patch we would align
long long int big[1024];
to 4 bytes on 32 bit systems. The problem is that we were only looking
at the element type when getLargeArrayMinWidth returned non zero.
llvm-svn: 187897
2013-08-07 18:08:19 +00:00
Tanya Lattner
bd837a8bde
Remove names from the CHECK lines.
...
llvm-svn: 162003
2012-08-16 00:22:16 +00:00
Tanya Lattner
a9dd49fe5b
Convert loads and stores of vec3 to vec4 to achieve better code generation. Add test case.
...
llvm-svn: 162002
2012-08-16 00:10:13 +00:00
Chris Lattner
3ad9042456
fix test on -Asserts builds.
...
llvm-svn: 147558
2012-01-04 22:51:21 +00:00
Chris Lattner
36bc4f41bc
implement rdar://10639962 by keeping track of increased alignment
...
information even in subscripting operations.
llvm-svn: 147557
2012-01-04 22:35:55 +00:00
Chris Lattner
4db839a8d4
loads also handled of course.
...
llvm-svn: 146910
2011-12-19 21:17:33 +00:00
Chris Lattner
2415357a05
Fix PR5279 - don't sliently drop alignment information on stores of types that have alignment less than the natural alignment of the type when it comes from a typedef.
...
llvm-svn: 146908
2011-12-19 21:16:08 +00:00
Chris Lattner
494f431097
filecheckize.
...
llvm-svn: 146907
2011-12-19 21:11:59 +00:00
Chris Lattner
7e588a8db0
rename test.
...
llvm-svn: 146906
2011-12-19 21:10:59 +00:00