[all-commits] [llvm/llvm-project] e27e82: [LCSSA] Update test use opaque pointers, regenerat...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Sep 4 14:36:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e27e826d80886b92dcc1977a82910a3088696f8d
      https://github.com/llvm/llvm-project/commit/e27e826d80886b92dcc1977a82910a3088696f8d
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-09-04 (Sun, 04 Sep 2022)

  Changed paths:
    M llvm/test/Transforms/LCSSA/unreachable-use.ll

  Log Message:
  -----------
  [LCSSA] Update test use opaque pointers, regenerate checks.

Modernize the test to make it easier to extend in a follow-up patch.


  Commit: a10d42dd45f470babb993626e4a35d1fd0806388
      https://github.com/llvm/llvm-project/commit/a10d42dd45f470babb993626e4a35d1fd0806388
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-09-04 (Sun, 04 Sep 2022)

  Changed paths:
    R llvm/test/Transforms/LoopVectorize/lcssa-crash.ll
    A llvm/test/Transforms/LoopVectorize/lcssa-crashes.ll

  Log Message:
  -----------
  [LV] Update test use opaque pointers, regenerate checks.

Modernize the test to make it easier to extend in a follow-up patch.


  Commit: ba3d29f871e04c6cfc64ed84c478dd1846e6148d
      https://github.com/llvm/llvm-project/commit/ba3d29f871e04c6cfc64ed84c478dd1846e6148d
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-09-04 (Sun, 04 Sep 2022)

  Changed paths:
    M llvm/lib/Transforms/Utils/LCSSA.cpp
    M llvm/test/Transforms/LCSSA/unreachable-use.ll
    M llvm/test/Transforms/LoopVectorize/lcssa-crashes.ll

  Log Message:
  -----------
  [LCSSA] Update unreachable uses with poison.

Users of LCSSA may not expect non-phi uses when checking the uses
outside a loop, which may cause crashes. This is due to the fact that we
do not update uses in unreachable blocks.

To ensure all reachable uses outside the loop are phis, update uses in
unreachable blocks to use poison in dead code.

Fixes #57508.


Compare: https://github.com/llvm/llvm-project/compare/1553179e3434...ba3d29f871e0


More information about the All-commits mailing list