[PATCH] D29542: [TargetInfo] Adjust x86-32 atomic support to the CPU used
Michał Górny via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 5 01:42:02 PST 2017
mgorny updated this revision to Diff 87134.
mgorny edited the summary of this revision.
mgorny added a comment.
Ok, this CUDA fix should be reasonable, i think. It simply assumes i586+ (i.e. all inline atomics enabled) for CUDA target builds. I seriously doubt it's technically possible that anyone will ever use CUDA on <i586 ;-).
https://reviews.llvm.org/D29542
Files:
lib/Basic/Targets.cpp
test/CodeGen/atomic-ops.c
test/CodeGen/ms-volatile.c
test/CodeGenCXX/atomicinit.cpp
test/Sema/atomic-ops.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29542.87134.patch
Type: text/x-patch
Size: 8312 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170205/cff075e3/attachment.bin>
More information about the cfe-commits
mailing list