[PATCH] D58260: [INLINER] allow inlining of blockaddresses if sole uses are callbrs

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 29 13:20:56 PDT 2019


efriedma added a comment.

> But should it?

It seems like a reasonable optimization, depending on the code structure.

> That implies that a blockaddress that's propagated to other functions aren't used by anything other than arithmetic and comparison instructions.

The important thing is that it can also be returned back to the original function, either directly, or indirectly through memory.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D58260





More information about the llvm-commits mailing list