Skip to content

Commit 721b3d0

Browse files
[GlobalISel] GISelKnownBits: forward unused depth parameter
Actually pass along the depth parameter of getKnownBits to computeKnownBitsImpl. Reviewed By: aemerson Differential Revision: https://reviews.llvm.org/D159321
1 parent 6412258 commit 721b3d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ KnownBits GISelKnownBits::getKnownBits(Register R, const APInt &DemandedElts,
7474
assert(ComputeKnownBitsCache.empty() && "Cache should have been cleared");
7575

7676
KnownBits Known;
77-
computeKnownBitsImpl(R, Known, DemandedElts);
77+
computeKnownBitsImpl(R, Known, DemandedElts, Depth);
7878
ComputeKnownBitsCache.clear();
7979
return Known;
8080
}

0 commit comments

Comments
 (0)