[PATCH] D159321: [GlobalISel] GISelKnownBits: forward unused depth parameter

Tobias Stadler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 31 17:58:08 PDT 2023


tobias-stadler created this revision.
tobias-stadler added reviewers: arsenm, aemerson.
Herald added subscribers: foad, hiraditya.
Herald added a project: All.
tobias-stadler requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Actually pass along the depth parameter of getKnownBits to computeKnownBitsImpl.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D159321

Files:
  llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp


Index: llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
===================================================================
--- llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
+++ llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
@@ -74,7 +74,7 @@
   assert(ComputeKnownBitsCache.empty() && "Cache should have been cleared");
 
   KnownBits Known;
-  computeKnownBitsImpl(R, Known, DemandedElts);
+  computeKnownBitsImpl(R, Known, DemandedElts, Depth);
   ComputeKnownBitsCache.clear();
   return Known;
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159321.555211.patch
Type: text/x-patch
Size: 501 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230901/822fa11b/attachment.bin>


More information about the llvm-commits mailing list