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

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 27 02:30:47 PDT 2024


================
@@ -151,6 +151,10 @@ class SCCPSolver {
   /// works with both scalars and structs.
   void markOverdefined(Value *V);
 
+  /// trackValueOfArgument - Mark the specified argument overdefined unless it
+  /// have range attribute.  This works with both scalars and structs.
----------------
dtcxzyw wrote:

>  This works with both scalars and structs.

I don't understand why it works with structs. Doesn't it only work with integer scalars?


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


More information about the llvm-commits mailing list