John McCall
8460bcaa33
Honor the casted-to alignment of an explicit cast even when
...
Sema thinks the cast is a no-op, as it does when (e.g.) the
only thing that changes is an alignment attribute.
Fixed PR24944.
llvm-svn: 248775
2015-09-29 04:37:40 +00:00
David Blaikie
a953f2825b
Update Clang tests to handle explicitly typed load changes in LLVM.
...
llvm-svn: 230795
2015-02-27 21:19:58 +00:00
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