[llvm] RFC: [TTI] Assume casts between aliasing addrspaces are valid. NFCI. (PR #137969)
Sergei Barannikov via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 30 07:37:54 PDT 2025
================
@@ -387,10 +387,6 @@ class BasicTTIImplBase : public TargetTransformInfoImplCRTPBase<T> {
bool isAlwaysUniform(const Value *V) const override { return false; }
- bool isValidAddrSpaceCast(unsigned FromAS, unsigned ToAS) const override {
----------------
s-barannikov wrote:
`TTIImplBase` has two derived classes, `BasicTTIImpl` and `NoTTIImpl`. The latter is used when the target doesn't provide its own implementation of `TTIImplBase` (which is usually done by inheriting from `BasicTTIImpl`).
https://github.com/llvm/llvm-project/pull/137969
More information about the llvm-commits
mailing list