summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2016-10-11 00:21:10 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2016-10-11 00:21:10 +0000
commitf75dcbef200540dab900e34396a542619d762f0a (patch)
tree091d34ae15e057b032e671a096a0c074cbdcc5c3 /clang/lib/Frontend/CompilerInvocation.cpp
parentd3126d5fb4f918cc738dac55f71768ad4523957d (diff)
downloadbcm5719-llvm-f75dcbef200540dab900e34396a542619d762f0a.tar.gz
bcm5719-llvm-f75dcbef200540dab900e34396a542619d762f0a.zip
Aligned allocation versus CUDA: make deallocation function preference order
match other CUDA preference orders, per discussion with jlebar. We now model this in an attempt to match overload resolution as closely as possible: - First, we throw out all non-callable (due to CUDA host/device mismatch) operator delete functions. - Then we apply sizedness / alignedness preferences based on whether the type is overaligned and whether the deallocation function is a member. - Finally, we use the CUDA callability preference as a tiebreaker. llvm-svn: 283830
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud