diff options
| author | Philip Reames <listmail@philipreames.com> | 2015-07-24 00:42:55 +0000 |
|---|---|---|
| committer | Philip Reames <listmail@philipreames.com> | 2015-07-24 00:42:55 +0000 |
| commit | 29e9ae7891ea7758657cb2d3636b749051834c90 (patch) | |
| tree | 847c000fcf3ca4c970f41abf4a8bb64e7d79594b /llvm | |
| parent | b032e04efd939ef1067571344a8e924d624696b1 (diff) | |
| download | bcm5719-llvm-29e9ae7891ea7758657cb2d3636b749051834c90.tar.gz bcm5719-llvm-29e9ae7891ea7758657cb2d3636b749051834c90.zip | |
[RewriteStatepointsForGC] Fix release build warning
llvm-svn: 243076
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp b/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp index e9f8a6c158a..5a1fac0c456 100644 --- a/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp +++ b/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp @@ -720,9 +720,11 @@ static Value *findBasePointer(Value *I, DefiningValueMapTy &cache) { // analougous to pessimistic data flow and would likely lead to an // overall worse solution. +#ifndef NDEBUG auto isExpectedBDVType = [](Value *BDV) { return isa<PHINode>(BDV) || isa<SelectInst>(BDV); }; +#endif // Once populated, will contain a mapping from each potentially non-base BDV // to a lattice value (described above) which corresponds to that BDV. |

