[PATCH] D112717: [IR] Replace *all* uses of a constant expression by corresponding instruction

Jon Chesterfield via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 9 08:01:01 PDT 2022


JonChesterfield added a comment.

In D112717#3702567 <https://reviews.llvm.org/D112717#3702567>, @arsenm wrote:

> With the plan to drop most constant expressions, could we start opting LDS globals out of constant expressions?

Appealing, but I think one of the things we're going to want to do with LDS globals is build arrays containing constantexpr pointing into them. Presently looking at patching lower module lds to not do this at all but I think that's thwarted by constantexpr being folded together.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112717



More information about the llvm-commits mailing list