[PATCH] D46011: [LoadStoreVectorize] Ignore interleaved invariant loads.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 24 07:29:00 PDT 2018


arsenm added a comment.

Would it be difficult to preserve the invariant if both loads are?



================
Comment at: test/Transforms/LoadStoreVectorizer/AMDGPU/invariant-load.ll:5
+
+; CHECK: load <2 x double
+; CHECK: store <2 x double> zeroinitializer
----------------
-LABEL for the function.

Should also check that the load is not marked invariant since it's merged with a non-invariant load.


Repository:
  rL LLVM

https://reviews.llvm.org/D46011





More information about the llvm-commits mailing list