[llvm] RFC: [TTI] Assume casts between aliasing addrspaces are valid. NFCI. (PR #137969)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 30 07:17:31 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 {
----------------
jayfoad wrote:
TBH I don't understand the relationship between `BasicTTIImpl` and `TargetTransformInfoImplBase`. I just removes this to stop it from overriding my default implementation in TTIIB.
https://github.com/llvm/llvm-project/pull/137969
More information about the llvm-commits
mailing list