aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Transforms/Utils/AddrModeMatcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Transforms/Utils/AddrModeMatcher.h')
-rw-r--r--include/llvm/Transforms/Utils/AddrModeMatcher.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Utils/AddrModeMatcher.h b/include/llvm/Transforms/Utils/AddrModeMatcher.h
index 61d2c01c72..0678eccb5d 100644
--- a/include/llvm/Transforms/Utils/AddrModeMatcher.h
+++ b/include/llvm/Transforms/Utils/AddrModeMatcher.h
@@ -90,7 +90,7 @@ public:
bool Success =
AddressingModeMatcher(AddrModeInsts, TLI, AccessTy,
MemoryInst, Result).MatchAddr(V, 0);
- Success = Success; assert(Success && "Couldn't select *anything*?");
+ (void)Success; assert(Success && "Couldn't select *anything*?");
return Result;
}
private: