[PATCH] D125990: [LSR] Fix bug for optimizing unused IVs to final values
Michael Kruse via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 29 08:14:46 PDT 2022
Meinersbur added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:113-114
+ "only replace exit value when the cost is cheap"),
+ clEnumValN(UnusedIndVar, "unusedindvar",
+ "only replace unused induction variables with cheap costs"),
+ clEnumValN(NoHardUse, "noharduse",
----------------
Could you update this to indicate that it is "unused in the loop"/it is only used to compute the loop LCSSA exit value?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125990/new/
https://reviews.llvm.org/D125990
More information about the llvm-commits
mailing list