[PATCH] D38415: [SimplifyIndVar] Replace IVUsers with loop invariant if possible

Hongbin Zheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 3 10:00:58 PDT 2017


etherzhhb updated this revision to Diff 117542.
etherzhhb added a comment.

Partially address reviewer's comment. This is a WIP patch


Repository:
  rL LLVM

https://reviews.llvm.org/D38415

Files:
  include/llvm/Transforms/Utils/SimplifyIndVar.h
  lib/Transforms/Scalar/IndVarSimplify.cpp
  lib/Transforms/Utils/SimplifyIndVar.cpp
  test/Transforms/IndVarSimplify/constant-fold-1.ll
  test/Transforms/IndVarSimplify/replace-iv-with-loop-invariant.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38415.117542.patch
Type: text/x-patch
Size: 10688 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171003/9dec6b49/attachment.bin>


More information about the llvm-commits mailing list