[clang] [llvm] [ValueTracking] Extend computeConstantRange for add/sub, sext/zext/trunc (PR #181110)

Guy David via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 26 05:07:44 PST 2026


================
@@ -1493,7 +1493,7 @@ v128_t test_f32x4_le(v128_t a, v128_t b) {
   return wasm_f32x4_le(a, b);
 }
 
-// CHECK-LABEL: define hidden range(i32 -1, 1) <4 x i32> @test_f32x4_ge(
+// CHECK-LABEL: define hidden noundef range(i32 -1, 1) <4 x i32> @test_f32x4_ge(
----------------
guy-david wrote:

I guess that now `sext` propagates the known range?

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


More information about the cfe-commits mailing list