diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2016-10-21 09:15:57 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2016-10-21 09:15:57 +0000 |
| commit | aa48572b9d9649f81715bb90ea8cd6b7fa60b924 (patch) | |
| tree | d0e752009f38a7741f5c30fae3b26eae71d996fe /llvm/lib/Transforms/Utils/LoopUnroll.cpp | |
| parent | 41189656ed5ef78c8ad507444b39e2dd2c013762 (diff) | |
| download | bcm5719-llvm-aa48572b9d9649f81715bb90ea8cd6b7fa60b924.tar.gz bcm5719-llvm-aa48572b9d9649f81715bb90ea8cd6b7fa60b924.zip | |
[Support] Fix AlignOf test on i386-linux.
On i386 alignof(double) = 8 is not the same as alignof(struct { double
}) = 4. This used to be not an issue because the old implementation
always measured alignment inside of structs. Wrap a dummy struct around
the test to avoid this issue.
llvm-svn: 284812
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnroll.cpp')
0 files changed, 0 insertions, 0 deletions

