[all-commits] [llvm/llvm-project] 614408: [IndVars] Don't widen pointers in WidenIV::getWide...

Eli Friedman via All-commits all-commits at lists.llvm.org
Sun Jul 11 17:05:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6144085c29b31e8e43122920a5bfba3d7b77e7ae
      https://github.com/llvm/llvm-project/commit/6144085c29b31e8e43122920a5bfba3d7b77e7ae
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2021-07-11 (Sun, 11 Jul 2021)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
    M llvm/test/Transforms/IndVarSimplify/signed-trip-count.ll

  Log Message:
  -----------
  [IndVars] Don't widen pointers in WidenIV::getWideRecurrence

It's not a reasonable transform, and calling getSignExtendExpr() on a
pointer hits an assertion.




More information about the All-commits mailing list