Soon Intrinsic::ID will be a plain integer, so this overload will not be
possible.
Rename both overloads to ensure that downstream targets observe this as
a build failure instead of a runtime failure.
Split off from D71320
Paths
| Differential D71381
Rename TTI::getIntImmCost for instructions and intrinsics ClosedPublic Authored by rnk on Dec 11 2019, 5:05 PM.
Details Summary Soon Intrinsic::ID will be a plain integer, so this overload will not be Rename both overloads to ensure that downstream targets observe this as Split off from D71320
Diff Detail
Event TimelineHerald added subscribers: luismarques, apazos, sameer.abuasal and 23 others. · View Herald Transcript This revision is now accepted and ready to land.Dec 11 2019, 5:43 PM Closed by commit rG85ba5f637af8: Rename TTI::getIntImmCost for instructions and intrinsics (authored by rnk). · Explain WhyDec 11 2019, 6:02 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 233474 llvm/include/llvm/Analysis/TargetTransformInfo.h
llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h
llvm/lib/Analysis/TargetTransformInfo.cpp
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
llvm/lib/Target/ARM/ARMTargetTransformInfo.h
llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
llvm/lib/Target/Lanai/LanaiTargetTransformInfo.h
llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h
llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h
llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
llvm/lib/Target/X86/X86TargetTransformInfo.h
llvm/lib/Target/X86/X86TargetTransformInfo.cpp
llvm/lib/Transforms/Scalar/ConstantHoisting.cpp
llvm/lib/Transforms/Scalar/SpeculateAroundPHIs.cpp
|