diff options
author | Reid Kleckner <reid@kleckner.net> | 2014-08-28 22:42:00 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2014-08-28 22:42:00 +0000 |
commit | febb279c9c24936375d0e514808bab6da011a082 (patch) | |
tree | ab8bd88b727d64f89cf8068b395a525a47d17e3c /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | ac7705527240893c2cac97d2303663e3802dc129 (diff) | |
download | llvm-febb279c9c24936375d0e514808bab6da011a082.zip llvm-febb279c9c24936375d0e514808bab6da011a082.tar.gz llvm-febb279c9c24936375d0e514808bab6da011a082.tar.bz2 |
Don't promote byval pointer arguments when padding matters
Don't promote byval pointer arguments when when their size in bits is
not equal to their alloc size in bits. This can happen for x86_fp80,
where the size in bits is 80 but the alloca size in bits in 128.
Promoting these types can break passing unions of x86_fp80s and other
types.
Patch by Thomas Jablin!
Reviewed By: rnk
Differential Revision: http://reviews.llvm.org/D5057
llvm-svn: 216693
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions