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

Andreas Jonson via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 27 10:31:45 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.
----------------
andjo403 wrote:

as it calls the markOverdefined if it is not a integer with a range attribute and that function have that text I selected to have it for this function also.

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


More information about the llvm-commits mailing list