diff options
| author | Reid Kleckner <rnk@google.com> | 2017-08-15 01:17:47 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2017-08-15 01:17:47 +0000 |
| commit | fdb3df65b6844c5926b1cb950fa044ce3017a7b1 (patch) | |
| tree | a50b290a787480f21a618376c2633544adbf87df /llvm/lib/Target/X86/X86CallFrameOptimization.cpp | |
| parent | 9e43d6e7b2d8eed7ce849d0698af8d4bb162ed26 (diff) | |
| download | bcm5719-llvm-fdb3df65b6844c5926b1cb950fa044ce3017a7b1.tar.gz bcm5719-llvm-fdb3df65b6844c5926b1cb950fa044ce3017a7b1.zip | |
Avoid PointerIntPair of constexpr EvalInfo structs
They are stack allocated, so their alignment is not to be trusted.
32-bit MSVC only guarantees 4 byte stack alignment, even though alignof
would tell you otherwise. I tried fixing this with __declspec align, but
that apparently upsets GCC. Hopefully this version will satisfy all
compilers.
See PR32018 for some info about the mingw issues.
Should supercede https://reviews.llvm.org/D34873
llvm-svn: 310905
Diffstat (limited to 'llvm/lib/Target/X86/X86CallFrameOptimization.cpp')
0 files changed, 0 insertions, 0 deletions

