[all-commits] [llvm/llvm-project] 8dcee5: [flang]Check for dominance in loop versioning (#68...

Mats Petersson via All-commits all-commits at lists.llvm.org
Thu Oct 12 05:07:35 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8dcee5800caeb7fcd1019443a7266b15ed345626
      https://github.com/llvm/llvm-project/commit/8dcee5800caeb7fcd1019443a7266b15ed345626
  Author: Mats Petersson <mats.petersson at arm.com>
  Date:   2023-10-12 (Thu, 12 Oct 2023)

  Changed paths:
    M flang/lib/Optimizer/Transforms/LoopVersioning.cpp
    M flang/test/Transforms/loop-versioning.fir

  Log Message:
  -----------
  [flang]Check for dominance in loop versioning (#68797)

This avoids trying to version loops that can't be versioned, and thus
avoids hitting an assert.

Co-authored with Slava Zakharin (who provided the test-code).




More information about the All-commits mailing list