From e71db85beda3b82ad9aaf38c5eba9212e53a7071 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 llvm-svn: 235913 --- llvm/lib/Target/PowerPC/PPCVSXSwapRemoval.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/llvm/lib/Target/PowerPC/PPCVSXSwapRemoval.cpp b/llvm/lib/Target/PowerPC/PPCVSXSwapRemoval.cpp index 9eac91a79206..a1dc7f7a5c35 100644 --- a/llvm/lib/Target/PowerPC/PPCVSXSwapRemoval.cpp +++ b/llvm/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");