Silence unused variable errors for no-asserts builds
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Mon, 27 Apr 2015 20:22:35 +0000 (20:22 +0000)
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>
Mon, 27 Apr 2015 20:22:35 +0000 (20:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235913 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCVSXSwapRemoval.cpp

index 9eac91a792062201d9e81f1032ed7560ed70701a..a1dc7f7a5c353220de91c8776b8679cbe3feea95 100644 (file)
@@ -761,6 +761,10 @@ void PPCVSXSwapRemoval::dumpSwapVector() {
       DEBUG(dbgs() << "remove ");
 
     DEBUG(dbgs() << "\n");
+
+    // For no-asserts builds.
+    (void)MI;
+    (void)ID;
   }
 
   DEBUG(dbgs() << "\n");