[PATCH] [X86] Refactor X86ISelDAGToDAG::SelectAtomicLoadArith - NFC

JF Bastien jfb at chromium.org
Wed Aug 27 14:06:45 PDT 2014


You commit message should state that this patch has no intended functional changes.

================
Comment at: lib/Target/X86/X86ISelDAGToDAG.cpp:1825
@@ -1824,1 +1824,3 @@
+  SDValue Base, Scale, Index, Disp, Segment;
   SDValue Tmp0, Tmp1, Tmp2, Tmp3, Tmp4;
+  if (!SelectAddr(Node, Ptr, Base, Scale, Index, Disp, Segment))
----------------
Drop this line.

================
Comment at: lib/Target/X86/X86ISelDAGToDAG.cpp:1886
@@ -1886,1 +1885,3 @@
+      } else
+        Opc= AtomicOpcTbl[Op][I64];
       break;
----------------
Missing a space after `Opc`.

http://reviews.llvm.org/D5088






More information about the llvm-commits mailing list