[all-commits] [llvm/llvm-project] 07f0e7: [LoopVectorize] Fix bug with code to hoist runtime...

David Sherwood via All-commits all-commits at lists.llvm.org
Thu Nov 2 03:03:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 07f0e75b5382a70d41adc43b8c08b82389e1e695
      https://github.com/llvm/llvm-project/commit/07f0e75b5382a70d41adc43b8c08b82389e1e695
  Author: David Sherwood <57997763+david-arm at users.noreply.github.com>
  Date:   2023-11-02 (Thu, 02 Nov 2023)

  Changed paths:
    M llvm/lib/Transforms/Utils/LoopUtils.cpp
    A llvm/test/Transforms/LoopVectorize/ARM/mve-hoist-runtime-checks.ll

  Log Message:
  -----------
  [LoopVectorize] Fix bug with code to hoist runtime checks (#70937)

There was a silly mistake in the expandBounds function that was using
the wrong type when calling expandCodeFor and always assuming the stride
is 64 bits. I've added the following test to defend this fix:

Transforms/LoopVectorize/ARM/mve-hoist-runtime-checks.ll




More information about the All-commits mailing list