[PATCH] Mutate TargetLowering::shouldExpandAtomicRMWInIR to specifically dictate how AtomicRMWInsts are expanded.

Tim Northover t.p.northover at gmail.com
Tue Feb 17 19:59:20 PST 2015


No tests? No explanation?


REPOSITORY
  rL LLVM

================
Comment at: include/llvm/Target/TargetLowering.h:1083
@@ +1082,3 @@
+  virtual AtomicRMWExpansionKind shouldExpandAtomicRMWInIR(AtomicRMWInst *RMWI) const {
+    (void)RMWI;
+    return AtomicRMWExpansionKind::Native;
----------------
Does any compiler really whinge about this?

http://reviews.llvm.org/D7713

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list