[all-commits] [llvm/llvm-project] e4e22b: [SCEV] Use SCEVUnknown(poison) instead of SCEVUnkn...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Jun 27 01:33:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e4e22b6d80385feb0a8353e1302fa117d3a7240a
      https://github.com/llvm/llvm-project/commit/e4e22b6d80385feb0a8353e1302fa117d3a7240a
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-06-27 (Mon, 27 Jun 2022)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/test/Analysis/ScalarEvolution/shift-recurrences.ll
    M llvm/test/Analysis/ScalarEvolution/unreachable-code.ll

  Log Message:
  -----------
  [SCEV] Use SCEVUnknown(poison) instead of SCEVUnknown(undef).

Use poison instead of undef for SCEVUnkown of unreachable values.
This should be in line with the movement to replace undef with poison
when possible.

Suggested in D114650.

Reviewed By: nikic

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




More information about the All-commits mailing list