diff options
| author | Tim Northover <tnorthover@apple.com> | 2013-06-21 22:49:34 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2013-06-21 22:49:34 +0000 |
| commit | 1060eae78e3db0f9e0a4235fd9dcacc6a135cc94 (patch) | |
| tree | 2e8c7547c62d2b854f3ff5e9049ca8c11ec01639 /llvm/lib/Target/X86/X86FastISel.cpp | |
| parent | fe941943a6d5ad6aaf4f6d29d41dd7301d79a720 (diff) | |
| download | bcm5719-llvm-1060eae78e3db0f9e0a4235fd9dcacc6a135cc94.tar.gz bcm5719-llvm-1060eae78e3db0f9e0a4235fd9dcacc6a135cc94.zip | |
Check for trivial constructibility before emptiness in ARM ABI.
According to the Itanium ABI (3.1.1), types with non-trivial copy constructors
passed by value should be passed indirectly, with the caller creating a
temporary.
We got this mostly correct, but forgot that empty structs can have non-trivial
constructors too and passed them incorrectly. This simply reverses the order of
the check.
llvm-svn: 184603
Diffstat (limited to 'llvm/lib/Target/X86/X86FastISel.cpp')
0 files changed, 0 insertions, 0 deletions

