[all-commits] [llvm/llvm-project] dc1732: [InstCombine] add tests for FMF propagation via -(...

RotateRight via All-commits all-commits at lists.llvm.org
Mon Jun 7 10:23:10 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc173254e754f1c363218548040642c6c53da8ed
      https://github.com/llvm/llvm-project/commit/dc173254e754f1c363218548040642c6c53da8ed
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-06-07 (Mon, 07 Jun 2021)

  Changed paths:
    M llvm/test/Transforms/InstCombine/fneg.ll

  Log Message:
  -----------
  [InstCombine] add tests for FMF propagation via -(C/X); NFC

There are bugs here as discussed in:
https://llvm.org/PR49654


  Commit: 519e98cd9af0d4b47a2daf0899b69d1254750c13
      https://github.com/llvm/llvm-project/commit/519e98cd9af0d4b47a2daf0899b69d1254750c13
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-06-07 (Mon, 07 Jun 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp

  Log Message:
  -----------
  [InstCombine] refactor match clauses; NFC

We need to adjust the FMF propagation on at least
one of these transforms as discussed in:
https://llvm.org/PR49654
...so this should make it easier to intersect flags.


  Commit: 4675beaa2181b6ccb1a37fd49b51a45490023974
      https://github.com/llvm/llvm-project/commit/4675beaa2181b6ccb1a37fd49b51a45490023974
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-06-07 (Mon, 07 Jun 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
    M llvm/test/Transforms/InstCombine/fneg.ll

  Log Message:
  -----------
  [InstCombine] intersect nsz and ninf fast-math-flags (FMF) for fneg(fdiv) fold

https://alive2.llvm.org/ce/z/3KPvih

https://llvm.org/PR49654


Compare: https://github.com/llvm/llvm-project/compare/8c6bd6c22f38...4675beaa2181


More information about the All-commits mailing list