[all-commits] [llvm/llvm-project] df868e: "Recommit "[AggressiveInstCombine] Lower Table Bas...

Djordje Todorovic via All-commits all-commits at lists.llvm.org
Fri Sep 9 01:30:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: df868edee561eb973edd85ec9df41c67aa0bff6b
      https://github.com/llvm/llvm-project/commit/df868edee561eb973edd85ec9df41c67aa0bff6b
  Author: Djordje Todorovic <djordje.todorovic at syrmia.com>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
    A llvm/test/Transforms/AggressiveInstCombine/lower-table-based-cttz-basics.ll
    A llvm/test/Transforms/AggressiveInstCombine/lower-table-based-cttz-dereferencing-pointer.ll
    A llvm/test/Transforms/AggressiveInstCombine/lower-table-based-cttz-non-argument-value.ll
    A llvm/test/Transforms/AggressiveInstCombine/lower-table-based-cttz-zero-element.ll
    A llvm/test/Transforms/AggressiveInstCombine/negative-lower-table-based-cttz.ll
    A llvm/test/Transforms/PhaseOrdering/lower-table-based-cttz.ll

  Log Message:
  -----------
  "Recommit "[AggressiveInstCombine] Lower Table Based CTTZ""

This reverts commit 053841c5624ca7eacd108a26071d8a1cefe1bebd.

We faced a use-after-free after pushing the D113291, since the
foldSqrt() has a call to eraseFromParent(). The function
should be at the end of the main loop that folds the patterns.
This patch fixes that.




More information about the All-commits mailing list