[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 15:12:13 PST 2017


mgorny updated this revision to Diff 87170.
mgorny added a comment.

CUDA: added the `MaxAtomicPromoteWidth` setting, and moved the CPU setting a little lower to ensure that it doesn't get called with null `HostTarget`.


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.87170.patch
Type: text/x-patch
Size: 8551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170205/2796c0a7/attachment.bin>


More information about the cfe-commits mailing list