From 445b1c78a577c8bacff25276e6de8e321c39dd63 Mon Sep 17 00:00:00 2001 From: Bill Schmidt Date: Mon, 27 Apr 2015 20:22:35 +0000 Subject: [PATCH] Silence unused variable errors for no-asserts builds git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235913 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPCVSXSwapRemoval.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Target/PowerPC/PPCVSXSwapRemoval.cpp b/lib/Target/PowerPC/PPCVSXSwapRemoval.cpp index 9eac91a7920..a1dc7f7a5c3 100644 --- a/lib/Target/PowerPC/PPCVSXSwapRemoval.cpp +++ b/lib/Target/PowerPC/PPCVSXSwapRemoval.cpp @@ -761,6 +761,10 @@ void PPCVSXSwapRemoval::dumpSwapVector() { DEBUG(dbgs() << "remove "); DEBUG(dbgs() << "\n"); + + // For no-asserts builds. + (void)MI; + (void)ID; } DEBUG(dbgs() << "\n"); -- 2.34.1