[llvm] [IPSCCP] Add range attribute handling. (PR #86747)

Andreas Jonson via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 10 13:50:01 PDT 2024


================
@@ -788,6 +794,17 @@ class SCCPInstVisitor : public InstVisitor<SCCPInstVisitor> {
       markOverdefined(ValueState[V], V);
   }
 
+  void trackValueOfArgument(Argument *A) {
+    if (A->getType()->isIntegerTy()) {
----------------
andjo403 wrote:

think that my test fails as ConstantVector is not handled in https://github.com/andjo403/llvm-project/blob/fa71860e1937b916758693e268d5a16021c8b5c3/llvm/include/llvm/Analysis/ValueLattice.h#L301-L339

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


More information about the llvm-commits mailing list