[all-commits] [llvm/llvm-project] 8ca60d: [LoopUtils] reduce FMF and min/max complexity when...

RotateRight via All-commits all-commits at lists.llvm.org
Wed Dec 30 12:31:01 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ca60db40bd944dc5f67e0f200a403b4e03818ea
      https://github.com/llvm/llvm-project/commit/8ca60db40bd944dc5f67e0f200a403b4e03818ea
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-12-30 (Wed, 30 Dec 2020)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/LoopUtils.h
    M llvm/lib/Transforms/Utils/LoopUtils.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [LoopUtils] reduce FMF and min/max complexity when forming reductions

I don't know if there's some way this changes what the vectorizers
may produce for reductions, but I have added test coverage with
3567908 and 5ced712 to show that both passes already have bugs in
this area. Hopefully this does not make things worse before we can
really fix it.




More information about the All-commits mailing list