[PATCH] D146872: [1/11][IR] Permit load/store/alloca for struct of the same scalable vector type

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 14 00:57:42 PDT 2023


nikic added inline comments.


================
Comment at: llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:3000
+      STy && STy->containsScalableVectorType())
+    return nullptr;
+
----------------
This looks too aggressive -- is it enough to only guard the LoadInst code below?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146872/new/

https://reviews.llvm.org/D146872



More information about the llvm-commits mailing list