[PATCH] D20098: [Sparc][LEON] Add LEON-specific CASA instruction.

Chris Dewhurst via llvm-commits llvm-commits at lists.llvm.org
Fri May 13 08:26:30 PDT 2016


lero_chris added a comment.

Query ability to get this code checked-into the trunk by commenting-out lines that will regress atomics behaviour (temporarily)


================
Comment at: lib/Target/Sparc/SparcISelLowering.cpp:1620
@@ -1619,1 +1619,3 @@
     setMaxAtomicSizeInBitsSupported(64);
+  else if (Subtarget->hasLeonCasa())
+    setMaxAtomicSizeInBitsSupported(32);
----------------
Can I comment-out these two lines, to be added when the AtomicExpandPass is completed? Leaving them like this will make it difficult to check-in other changes that are upcoming, due to changes in the other files in this review (unrelated to atomics work)


Repository:
  rL LLVM

http://reviews.llvm.org/D20098





More information about the llvm-commits mailing list