[all-commits] [llvm/llvm-project] 4bb006: [LV] Convert runtime diff check test to use opaque...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Aug 29 23:10:03 PDT 2022


  Branch: refs/heads/release/15.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 4bb006d0d3b0a5010bcfa9bd63c10450767c2e37
      https://github.com/llvm/llvm-project/commit/4bb006d0d3b0a5010bcfa9bd63c10450767c2e37
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-08-30 (Tue, 30 Aug 2022)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/runtime-checks-difference.ll

  Log Message:
  -----------
  [LV] Convert runtime diff check test to use opaque pointers.

Modernize the test to make it easier to extend with up-to-date IR.

(cherry picked from commit 3b135ef446d56e8542d55a1b716e9413f50da7aa)


  Commit: afde142bfe28a89f8d1168c76512934ebd2b096d
      https://github.com/llvm/llvm-project/commit/afde142bfe28a89f8d1168c76512934ebd2b096d
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-08-30 (Tue, 30 Aug 2022)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/runtime-checks-difference.ll

  Log Message:
  -----------
  [LV] Add test for incorrect runtime check generation #57315.

Test for PR57315 based on a test provided by @kpdev42.

(cherry picked from commit 6e56779e6bc168a3acd14f9bf2c4fd3fd9d86bd1)


  Commit: 3367244b7e9ba261cb52aad5d1bd5ffa389f9498
      https://github.com/llvm/llvm-project/commit/3367244b7e9ba261cb52aad5d1bd5ffa389f9498
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-08-30 (Tue, 30 Aug 2022)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/runtime-checks-difference.ll

  Log Message:
  -----------
  [LV]  Add another test for incorrect runtime check generation.

Add a variation of @nested_loop_outer_iv_addrec_invariant_in_inner with
the dependence sink and source swapped to extend test coverage.

Also simplifies the test by removing an unneeded reduction.

(cherry picked from commit e117137af0a37ac309d40db57ec7162ef3d22c29)


  Commit: 9070c258c143d6666274da3c70971bd266cabb82
      https://github.com/llvm/llvm-project/commit/9070c258c143d6666274da3c70971bd266cabb82
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-08-30 (Tue, 30 Aug 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/LoopAccessAnalysis.h
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    M llvm/test/Transforms/LoopVectorize/runtime-checks-difference.ll

  Log Message:
  -----------
  [LAA] Require AddRecs to be in the innermost loop for diff-checks.

The simpler diff-checks require pointers with add-recs from the same
innermost loop, but this property wasn't check completely. Add the
missing check to ensure both addrecs are in the innermost loop.

Fixes #57315.

(cherry picked from commit 9405af1c850139f6ddd6d35ff395756fe2aef31f)


Compare: https://github.com/llvm/llvm-project/compare/0c5ce1d7fba3...9070c258c143


More information about the All-commits mailing list