[PATCH] D33433: [SCEV] Select between two equal values

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 23 02:47:44 PDT 2017


mkazantsev created this revision.
Herald added a subscriber: mzolotukhin.

SCEV of expressions like 'select %cond, %X, %X' should be evaluated as SCEV of '%X'.


https://reviews.llvm.org/D33433

Files:
  lib/Analysis/ScalarEvolution.cpp
  test/Analysis/IVUsers/quadradic-exit-value.ll
  test/Analysis/ScalarEvolution/select.ll
  test/Transforms/LoopStrengthReduce/lsr-expand-quadratic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33433.99869.patch
Type: text/x-patch
Size: 4819 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170523/758baff7/attachment.bin>


More information about the llvm-commits mailing list