[all-commits] [llvm/llvm-project] aaafe3: [SCEV] BuildConstantFromSCEV(): properly handle SC...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Tue Oct 13 02:20:27 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: aaafe350bb65dfc24c2cdad4839059ac81899fbe
      https://github.com/llvm/llvm-project/commit/aaafe350bb65dfc24c2cdad4839059ac81899fbe
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-10-13 (Tue, 13 Oct 2020)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/test/Analysis/ScalarEvolution/ptrtoint-constantexpr-loop.ll

  Log Message:
  -----------
  [SCEV] BuildConstantFromSCEV(): properly handle SCEVSignExtend from ptr

Much similar to the ZExt/Trunc handling.
Thanks goes to Alexander Richardson for nudging towards noticing this one proactively.

The appropriate (currently crashing) test coverage added.




More information about the All-commits mailing list