[llvm] [AMDGPU] MCExpr printing helper with KnownBits support (PR #95951)

Janek van Oirschot via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 19 12:08:53 PDT 2024


================
@@ -314,3 +315,142 @@ AMDGPUVariadicMCExpr::createOccupancy(unsigned InitOcc, const MCExpr *NumSGPRs,
                  CreateExpr(InitOcc), NumSGPRs, NumVGPRs},
                 Ctx);
 }
+
+static KnownBits AMDGPUMCExprKnownBits(const MCExpr *Expr, raw_ostream &OS,
----------------
JanekvO wrote:

The function arguments? Or just the need for trying to resolve some of these with KnownBits?

https://github.com/llvm/llvm-project/pull/95951


More information about the llvm-commits mailing list