[llvm] [TTI] Fix discrepancies in prototypes between interface and implementations (NFCI) (PR #136655)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 22 01:23:39 PDT 2025
================
@@ -1468,7 +1466,7 @@ class BasicTTIImplBase : public TargetTransformInfoImplCRTPBase<T> {
}
InstructionCost getMemoryOpCost(
- unsigned Opcode, Type *Src, MaybeAlign Alignment, unsigned AddressSpace,
+ unsigned Opcode, Type *Src, Align Alignment, unsigned AddressSpace,
----------------
arsenm wrote:
MaybeAlign shouldn't exist, Align(1) is always a suitable value
https://github.com/llvm/llvm-project/pull/136655
More information about the llvm-commits
mailing list