[llvm] [NFC][GlobalISel] Pass `APInt` by const reference (PR #157827)
Abhishek Kaushik via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 10 04:12:20 PDT 2025
================
@@ -457,7 +457,8 @@ getFConstantSplat(Register VReg, const MachineRegisterInfo &MRI,
/// G_BUILD_VECTOR_TRUNC where all of the elements are \p SplatValue or undef.
LLVM_ABI bool isBuildVectorConstantSplat(const Register Reg,
const MachineRegisterInfo &MRI,
- int64_t SplatValue, bool AllowUndef);
+ const APInt &SplatValue,
----------------
abhishek-kaushik22 wrote:
Sorry, I changed the wrong signature. I've fixed it.
https://github.com/llvm/llvm-project/pull/157827
More information about the llvm-commits
mailing list