From: Bill Schmidt Date: Mon, 27 Apr 2015 20:22:35 +0000 (+0000) Subject: Silence unused variable errors for no-asserts builds X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=445b1c78a577c8bacff25276e6de8e321c39dd63;p=oota-llvm.git 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 --- 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");