[llvm] [SCEV] Make operand use flags part of expression's identity. (PR #216604)

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 29 20:16:47 PDT 2026


preames wrote:

> Does that make sense?

Somewhat.  I get that the SCEVUse can't have flags added _to it_.  But doesn't the _underling SCEV_ have the potential to have new flags added?  So, since the flag set of the SCEVUse is the unions of it's own flags and the underlying SCEV's flags, doesn't that mean the SCEVUse _appears_ to gain flags after construction?  Does that create any problems here?


https://github.com/llvm/llvm-project/pull/216604


More information about the llvm-commits mailing list