[all-commits] [llvm/llvm-project] 255211: [NFC][ScalarEvolution] Add a test showing SCEV fai...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Sun Jun 28 10:35:52 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 25521150d7b577f6f1b402826f2afbb0ec5fb59b
      https://github.com/llvm/llvm-project/commit/25521150d7b577f6f1b402826f2afbb0ec5fb59b
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-06-28 (Sun, 28 Jun 2020)

  Changed paths:
    A llvm/test/Analysis/ScalarEvolution/srem.ll

  Log Message:
  -----------
  [NFC][ScalarEvolution] Add a test showing SCEV failure to recognize 'urem'

While InstCombine trivially converts that `srem` into a `urem`,
it might happen later than wanted. SCEV should recognize this natively.




More information about the All-commits mailing list