[all-commits] [llvm/llvm-project] a04d4a: [LoopFlatten] Use loop versioning when overflow ca...

John Brawn via All-commits all-commits at lists.llvm.org
Thu Jan 25 05:57:32 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a04d4a03f7737202b5cd05687e08ed8748ef7352
      https://github.com/llvm/llvm-project/commit/a04d4a03f7737202b5cd05687e08ed8748ef7352
  Author: John Brawn <john.brawn at arm.com>
  Date:   2024-01-25 (Thu, 25 Jan 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopFlatten.cpp
    M llvm/test/Transforms/LoopFlatten/loop-flatten-negative.ll
    A llvm/test/Transforms/LoopFlatten/loop-flatten-version.ll
    M llvm/test/Transforms/LoopFlatten/widen-iv.ll

  Log Message:
  -----------
  [LoopFlatten] Use loop versioning when overflow can't be disproven (#78576)

Implement the TODO in loop flattening to version the loop when we can't
prove that the trip count calculation won't overflow.




More information about the All-commits mailing list