[llvm] [ValueTracking] Add support for non-splat vecs in computeConstantRange (PR #72365)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 15 01:38:42 PST 2023


================
@@ -207,7 +207,7 @@ define <2 x i8> @non_splat_vec_add_nsw_const_const_sub_nsw_not_ov1(<2 x i8> %arg
 ; TODO: We can add nsw on sub, current Value Tracking use [max element,min element] constant range, to check overflow for vector?
----------------
nikic wrote:

Remove TODO

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


More information about the llvm-commits mailing list