[all-commits] [llvm/llvm-project] 3f3303: [NFC][InstCombine] Negator: add tests for negation...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Tue Aug 4 17:13:43 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f3303324eb2dc8a7e6d0ff867159c08479609de
      https://github.com/llvm/llvm-project/commit/3f3303324eb2dc8a7e6d0ff867159c08479609de
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-08-05 (Wed, 05 Aug 2020)

  Changed paths:
    M llvm/test/Transforms/InstCombine/sub-of-negatible.ll

  Log Message:
  -----------
  [NFC][InstCombine] Negator: add tests for negation of left-shift by constant


  Commit: 8fd57b06a4fd04ada4f1d1c4124adc9998be1e5f
      https://github.com/llvm/llvm-project/commit/8fd57b06a4fd04ada4f1d1c4124adc9998be1e5f
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-08-05 (Wed, 05 Aug 2020)

  Changed paths:
    M llvm/test/Transforms/InstCombine/icmp.ll
    M llvm/test/Transforms/InstCombine/sub-gep.ll
    M llvm/test/Transforms/InstCombine/sub.ll

  Log Message:
  -----------
  [NFC][InstCombine] Fix value names (s/%tmp/%i/) and autogenerate a few tests being affected by negator change


  Commit: 8aeb2fe13a4100b4c2e78d6ef75119304100cb1f
      https://github.com/llvm/llvm-project/commit/8aeb2fe13a4100b4c2e78d6ef75119304100cb1f
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-08-05 (Wed, 05 Aug 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineNegator.cpp
    M llvm/test/Transforms/InstCombine/icmp.ll
    M llvm/test/Transforms/InstCombine/sub-gep.ll
    M llvm/test/Transforms/InstCombine/sub-of-negatible.ll
    M llvm/test/Transforms/InstCombine/sub.ll

  Log Message:
  -----------
  [InstCombine] Negator: -(X << C)  -->  X * (-1 << C)

This shows some regressions in tests, but they are all around GEP's,
so i'm not really sure how important those are.

https://rise4fun.com/Alive/1Gn


Compare: https://github.com/llvm/llvm-project/compare/7e9bab6ad51a...8aeb2fe13a41


More information about the All-commits mailing list