[llvm] ValueTracking: Handle ConstantDataSequential in computeKnownFPClass (PR #184191)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 4 09:04:17 PST 2026


================
@@ -119,19 +119,86 @@ entry:
 ; FIXME (should be poison): Support computeKnownFPClass() for non-zero aggregates.
 define nofpclass(nzero) [ 1 x float ] @ret_nofpclass_multiple_elems_struct_ty_nzero_nzero() {
 ; CHECK-LABEL: define nofpclass(nzero) [1 x float] @ret_nofpclass_multiple_elems_struct_ty_nzero_nzero() {
-; CHECK-NEXT:  entry:
-; CHECK-NEXT:    ret [1 x float] [float -0.000000e+00]
+; CHECK-NEXT:  [[ENTRY:.*:]]
----------------
dtcxzyw wrote:

Drop the FIXME above.

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


More information about the llvm-commits mailing list