[PATCH] D151945: Introduce G_OPAQUE and use it to prevent constant folding hoisted constants.

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 5 19:41:15 PDT 2023


aemerson added a comment.

In D151945#4396256 <https://reviews.llvm.org/D151945#4396256>, @tschuett wrote:

> Would G_OPAQUE_CONSTANTbe  an improvement in intent? It is a constant that you cannot fold.

Are you suggesting introducing a new form of constant? I didn't want to go down that route because we'd end up having 2 different representations of constants, 2 sets of legality rules etc.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151945



More information about the llvm-commits mailing list