[PATCH] D123473: [LICM] Only create load in pre-header when promoting load.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 26 14:19:36 PDT 2022


fhahn marked an inline comment as done.
fhahn added a comment.

In D123473#3470417 <https://reviews.llvm.org/D123473#3470417>, @nlopes wrote:

> I'm surprised the assertion is not an `if`. But if it doesn't trigger, then LGTM.

Yeah, I couldn't find an example where this would trigger. The hope is that if it triggers we will soon have a test case.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123473



More information about the llvm-commits mailing list