mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-04 01:26:41 +00:00
[RewriteStatepointsForGC] Fix release build warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243076 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
147f0e84e6
commit
a8f6ce415b
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user