[PATCH] D71128: [NVPTX][FIX] Expand atomics we cannot handle natively in the ISA

Artem Belevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 6 10:05:34 PST 2019


tra added a comment.

+1 for tests.



================
Comment at: llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp:360
 
+  // Force atomics to be expanded if the ISA doesn't support them: PR4219
+  setMinCmpXchgSizeInBits(32);
----------------
Typo: it's *4*4219:  https://bugs.llvm.org/show_bug.cgi?id=44219


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71128/new/

https://reviews.llvm.org/D71128





More information about the llvm-commits mailing list