[all-commits] [llvm/llvm-project] a70029: [CanonicalizeFreezeInLoops] fix duplicate removal ...

Wei Tao via All-commits all-commits at lists.llvm.org
Thu Dec 28 00:47:45 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a700298b3d538452915703268ca18f7f8f7537e6
      https://github.com/llvm/llvm-project/commit/a700298b3d538452915703268ca18f7f8f7537e6
  Author: Wei Tao <friedrich.taow at gmail.com>
  Date:   2023-12-28 (Thu, 28 Dec 2023)

  Changed paths:
    M llvm/lib/Transforms/Utils/CanonicalizeFreezeInLoops.cpp
    A llvm/test/Transforms/CanonicalizeFreezeInLoops/duplicate_remove.ll

  Log Message:
  -----------
  [CanonicalizeFreezeInLoops] fix duplicate removal (#74716)

This PR fixes #74572 where the freeze instruction could be found twice
by the pass CanonicalizeFreezeInLoops, and then the compiling may crash
in second removal since the instruction has already gone.




More information about the All-commits mailing list