[llvm] [ValueTracking] Handle range attributes (PR #85143)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 24 03:48:51 PDT 2024


================
@@ -2154,6 +2155,10 @@ class CallBase : public Instruction {
   /// parameter.
   FPClassTest getParamNoFPClass(unsigned i) const;
 
+  /// If this return value has a range attribute, return the value range of the
+  /// argument. Otherwise, std::nullopt is returned.
----------------
dtcxzyw wrote:

typo

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


More information about the llvm-commits mailing list