[llvm] [TTI] Fix discrepancies between interface and implementations (NFCI) (PR #136655)

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 21 23:11:26 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,
----------------
s-barannikov wrote:

This is probably the only change worth paying attention to.
Commit that changed TTI interface (but not implementations): 27b4e6931d0f2f16293e6abface7da25fb731e14


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


More information about the llvm-commits mailing list