[PATCH] D79418: [LSR][ARM] Add new TTI hook to discard unwanted LSRUses

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 5 23:57:36 PDT 2020


samparker added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp:5598
 
+  FilterOutUndesirableUses();
   FilterOutUndesirableDedicatedRegisters();
----------------
How about doing the filtering straight away, even before 'OptimizeShadowIV'? Can we just remove the instruction before we generate any formulae?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79418





More information about the llvm-commits mailing list