[llvm] [InstCombine][NFC] Fix typo in is_fpclass.ll (PR #112067)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 11 19:37:14 PDT 2024


https://github.com/dtcxzyw created https://github.com/llvm/llvm-project/pull/112067

This typo causes alive2 to crash.


>From 3443e8cda679273651eafb3080694cf580f9d0d3 Mon Sep 17 00:00:00 2001
From: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: Sat, 12 Oct 2024 10:35:47 +0800
Subject: [PATCH] [InstCombine][NFC] Fix typo in is_fpclass.ll

---
 llvm/test/Transforms/InstCombine/is_fpclass.ll | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/test/Transforms/InstCombine/is_fpclass.ll b/llvm/test/Transforms/InstCombine/is_fpclass.ll
index ad0bcd1b0c437c..24a331dfb48bb0 100644
--- a/llvm/test/Transforms/InstCombine/is_fpclass.ll
+++ b/llvm/test/Transforms/InstCombine/is_fpclass.ll
@@ -376,7 +376,7 @@ define i1 @test_class_is_not_p0_n0_psub_nsub_f32_dapz(float %x) "denormal-fp-mat
   ret i1 %val
 }
 
-define i1 @test_class_is_not_p0_n0_psub_nsub_f32_dynamic(float %x) "denormal-fp-math"="ieee,dynamiz" {
+define i1 @test_class_is_not_p0_n0_psub_nsub_f32_dynamic(float %x) "denormal-fp-math"="ieee,dynamic" {
 ; CHECK-LABEL: @test_class_is_not_p0_n0_psub_nsub_f32_dynamic(
 ; CHECK-NEXT:    [[VAL:%.*]] = call i1 @llvm.is.fpclass.f32(float [[X:%.*]], i32 783)
 ; CHECK-NEXT:    ret i1 [[VAL]]



More information about the llvm-commits mailing list