[all-commits] [llvm/llvm-project] b2837b: [ScalarEvolution] Add bailout to avoid zext of poi...

Eli Friedman via All-commits all-commits at lists.llvm.org
Mon Jan 31 11:42:14 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b2837bf2f22a9198d636e2d5755c119d1fc4329a
      https://github.com/llvm/llvm-project/commit/b2837bf2f22a9198d636e2d5755c119d1fc4329a
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2022-01-31 (Mon, 31 Jan 2022)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp

  Log Message:
  -----------
  [ScalarEvolution] Add bailout to avoid zext of pointer.

The RHS of an isImpliedCond call can be a pointer even if the LHS is
not. This is similar to bfa2a81e.

Not going to include a testcase; an IR testcase would be extremely
complicated and fragile.

Fixes https://github.com/llvm/llvm-project/issues/51936 .

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




More information about the All-commits mailing list