[llvm] [polly] [SCEV] Introduce SCEVUse, use it instead of const SCEV * (NFCI) (WIP). (PR #91961)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 22 12:29:25 PDT 2024


================
@@ -65,6 +65,117 @@ enum SCEVTypes : unsigned short;
 
 extern bool VerifySCEV;
 
+class SCEV;
+
+class SCEVUse : public PointerIntPair<const SCEV *, 3> {
----------------
artagnon wrote:

I think you need two bits: one for NUW and one for NSW. The canonical bit can be dropped, if you can canonicalize on construction.

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


More information about the llvm-commits mailing list