[all-commits] [llvm/llvm-project] f1efb8: [SCEV][IndVarSimplify] insert point should not be ...

Chen Zheng via All-commits all-commits at lists.llvm.org
Thu Jul 9 18:58:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f1efb8bb4ba0584a9b994f3404a2c62920ce6652
      https://github.com/llvm/llvm-project/commit/f1efb8bb4ba0584a9b994f3404a2c62920ce6652
  Author: Chen Zheng <czhengsz at cn.ibm.com>
  Date:   2020-07-09 (Thu, 09 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
    M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
    A llvm/test/Transforms/IndVarSimplify/widen-i32-i8ptr.ll

  Log Message:
  -----------
  [SCEV][IndVarSimplify] insert point should not be block front.

The block front may be a PHI node, inserting a cast instructions like
BitCast, PtrToInt, IntToPtr among PHIs is not right.

Reviewed By: lebedev.ri

Differential Revision:  https://reviews.llvm.org/D80975




More information about the All-commits mailing list