[all-commits] [llvm/llvm-project] f5fe7a: [VPlan] Account for removed users in replaceAllUse...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Oct 4 10:35:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f5fe7abe8a8c8150b7b305bae963b429f15ea217
      https://github.com/llvm/llvm-project/commit/f5fe7abe8a8c8150b7b305bae963b429f15ea217
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-10-04 (Sun, 04 Oct 2020)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/unittests/Transforms/Vectorize/VPlanTest.cpp

  Log Message:
  -----------
  [VPlan] Account for removed users in replaceAllUsesWith.

Make sure we do not iterate using an invalid iterator.

Another small fix/step towards traversing the def-use chains in VPlan.




More information about the All-commits mailing list