[llvm] [GVN] Handle scalable vectors with the same size in VNCoercion (PR #123984)
David Green via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 23 10:40:54 PST 2025
================
@@ -21,6 +21,10 @@ bool canCoerceMustAliasedValueToLoad(Value *StoredVal, Type *LoadTy,
if (StoredTy == LoadTy)
return true;
+ if (isa<ScalableVectorType>(StoredTy) &&
----------------
davemgreen wrote:
Thanks - I added a couple of extra tests for it too.
https://github.com/llvm/llvm-project/pull/123984
More information about the llvm-commits
mailing list