[all-commits] [llvm/llvm-project] 093114: [InstCombine] Extend `0 - (X sdiv C) -> (X sdiv -C...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Thu Dec 5 04:48:41 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 09311459e3750f9dbd164fe7ea40fd9548571128
      https://github.com/llvm/llvm-project/commit/09311459e3750f9dbd164fe7ea40fd9548571128
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2019-12-05 (Thu, 05 Dec 2019)

  Changed paths:
    M llvm/include/llvm/IR/Constant.h
    M llvm/lib/IR/Constants.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
    M llvm/test/Transforms/InstCombine/div.ll

  Log Message:
  -----------
  [InstCombine] Extend `0 - (X sdiv C) -> (X sdiv -C)` fold to non-splat vectors

Split off from https://reviews.llvm.org/D68408




More information about the All-commits mailing list