[PATCH] D138186: InstCombine: Simplify vector load based on demanded elements

Piotr Sobczak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 17 00:40:00 PST 2022


piotr added inline comments.


================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp:1716
+      InsertNewInstWith(NewPtr, *LI);
+    InsertNewInstWith(NewLI, *LI);
+    InsertNewInstWith(NewI, *LI);
----------------
Should the original load be replaced rather than kept around?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138186



More information about the llvm-commits mailing list