summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86FastISel.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2013-06-21 22:49:34 +0000
committerTim Northover <tnorthover@apple.com>2013-06-21 22:49:34 +0000
commit1060eae78e3db0f9e0a4235fd9dcacc6a135cc94 (patch)
tree2e8c7547c62d2b854f3ff5e9049ca8c11ec01639 /llvm/lib/Target/X86/X86FastISel.cpp
parentfe941943a6d5ad6aaf4f6d29d41dd7301d79a720 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud