[all-commits] [llvm/llvm-project] a21e0e: [Test] Reduce deopt bundle in test with hoisted ll...

Dmitry Makogon via All-commits all-commits at lists.llvm.org
Fri Dec 9 02:45:14 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a21e0ec724d325289cb5bdb970ad7b90af73a6d4
      https://github.com/llvm/llvm-project/commit/a21e0ec724d325289cb5bdb970ad7b90af73a6d4
  Author: Dmitry Makogon <d.makogon at g.nsu.ru>
  Date:   2022-12-09 (Fri, 09 Dec 2022)

  Changed paths:
    M llvm/test/Transforms/SimplifyCFG/dont-hoist-deoptimize.ll

  Log Message:
  -----------
  [Test] Reduce deopt bundle in test with hoisted llvm.deoptimize call


  Commit: b1341191372a1208720ae23da8cca7749892da32
      https://github.com/llvm/llvm-project/commit/b1341191372a1208720ae23da8cca7749892da32
  Author: Dmitry Makogon <d.makogon at g.nsu.ru>
  Date:   2022-12-09 (Fri, 09 Dec 2022)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/Transforms/SimplifyCFG/dont-hoist-deoptimize.ll

  Log Message:
  -----------
  [SimplifyCFG] Prohibit hoisting of llvm.deoptimize calls

This prohibits hoisiting identical llvm.deoptimize calls
from 'then' and 'else' blocks of a conditional branch.
This fixes a crash that happened because we didn't hoist
the return instructions together with the llvm.deoptimize calls,
so the verifier would crash.

Differential Revision: https://reviews.llvm.org/D139437


Compare: https://github.com/llvm/llvm-project/compare/51f154b99797...b1341191372a


More information about the All-commits mailing list