[all-commits] [llvm/llvm-project] c8abf1: [CVP] Pass context instruction when narrowing div/rem

Nikita Popov via All-commits all-commits at lists.llvm.org
Sun Sep 27 08:51:52 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c8abf1c12dc39f3b07b887808da4bb09d5ddbe3e
      https://github.com/llvm/llvm-project/commit/c8abf1c12dc39f3b07b887808da4bb09d5ddbe3e
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-09-27 (Sun, 27 Sep 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
    M llvm/test/Transforms/CorrelatedValuePropagation/sdiv.ll

  Log Message:
  -----------
  [CVP] Pass context instruction when narrowing div/rem

This fold was the only place not passing the context instruction.
The tests worked around that fact by introducing a basic block split,
which is now no longer necessary.




More information about the All-commits mailing list