[all-commits] [llvm/llvm-project] 4c0d5d: [LV] Add test case for wrong debug location with r...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Apr 8 11:34:56 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c0d5db9c946c0ce462754b81147d36f00250cfc
      https://github.com/llvm/llvm-project/commit/4c0d5db9c946c0ce462754b81147d36f00250cfc
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-04-08 (Fri, 08 Apr 2022)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/debugloc.ll

  Log Message:
  -----------
  [LV] Add test case for wrong debug location with replicate recipe.


  Commit: 467dbcd9f142f3995afb5a6ad7cccb7347caf2ff
      https://github.com/llvm/llvm-project/commit/467dbcd9f142f3995afb5a6ad7cccb7347caf2ff
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-04-08 (Fri, 08 Apr 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/debugloc.ll

  Log Message:
  -----------
  [LV] Set debug loc after setting insert point.

This fixes the code to actually use the location of the instruction, if
available. Previously, SetInsertPoint would overwrite the insert point
set from the instruction.


Compare: https://github.com/llvm/llvm-project/compare/63fe6d7eae29...467dbcd9f142


More information about the All-commits mailing list