[llvm] [RISCV][GlobalISel] Legalize Scalable Vector Loads (PR #84965)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 25 09:48:00 PDT 2024


================
@@ -220,7 +220,8 @@ struct TypePairAndMemDesc {
            Align >= Other.Align &&
            // FIXME: This perhaps should be stricter, but the current legality
            // rules are written only considering the size.
-           MemTy.getSizeInBits() == Other.MemTy.getSizeInBits();
----------------
topperc wrote:

Comparing the min value is losing the scalable bit. Why a fixed size and scalable size should not be compatible right?

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


More information about the llvm-commits mailing list