[all-commits] [llvm/llvm-project] 44af59: [Statepoint] Return undef value for the statepoint...

Danila Malyutin via All-commits all-commits at lists.llvm.org
Fri Nov 17 06:33:06 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 44af5924b1cbbb395e7e71250a5445053c4ec4a3
      https://github.com/llvm/llvm-project/commit/44af5924b1cbbb395e7e71250a5445053c4ec4a3
  Author: Danila Malyutin <danilaml at users.noreply.github.com>
  Date:   2023-11-17 (Fri, 17 Nov 2023)

  Changed paths:
    M llvm/lib/IR/IntrinsicInst.cpp
    A llvm/test/Verifier/gc_none_token.ll

  Log Message:
  -----------
  [Statepoint] Return undef value for the statepoint of the none token (#72552)

Helps avoid the crash in verifier when it tries to print the error.
`none` token might be produced by llvm-reduce, since it's a default
value, so by extension this also fixes llvm-reduce crash, allowing it to
just discard invalid IR.

---------

Co-authored-by: arpilipe <apilipenko at azul.com>




More information about the All-commits mailing list