[PATCH] D107219: [LICM] Support sinking in LNICM

Mikael Holmén via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 10 00:44:27 PDT 2021


uabelho added a comment.

Hi,

The following starts failing with this patch:

  opt -passes='loop-mssa(lnicm)' -o /dev/null lnicm-crash.ll

I get

  While deleting: i40 %
  Use still stuck around after Def is destroyed:  %v_299.017 = phi i40 [ <badref>, %for.body1143 ]
  opt: ../lib/IR/Value.cpp:103: llvm::Value::~Value(): Assertion `materialized_use_empty() && "Uses remain when a value is destroyed!"' failed.

F18952408: lnicm-crash.ll <https://reviews.llvm.org/F18952408>


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107219/new/

https://reviews.llvm.org/D107219



More information about the llvm-commits mailing list