[llvm] [GlobalISel] Add constant matcher for APInt (PR #151357)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 1 01:16:17 PDT 2025
================
@@ -192,63 +192,92 @@ m_GFCstOrSplat(std::optional<FPValueAndVReg> &FPValReg) {
/// Matcher for a specific constant value.
struct SpecificConstantMatch {
- int64_t RequestedVal;
- SpecificConstantMatch(int64_t RequestedVal) : RequestedVal(RequestedVal) {}
+ APInt RequestedVal;
+ SpecificConstantMatch(APInt RequestedVal) : RequestedVal(RequestedVal) {}
----------------
arsenm wrote:
const ref
https://github.com/llvm/llvm-project/pull/151357
More information about the llvm-commits
mailing list