[clang] [Clang][NFC] update_cc_test_checks over strictfp-elementwise-bulitins.cpp (PR #130747)

Juan Manuel Martinez CaamaƱo via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 11 07:04:11 PDT 2025


https://github.com/jmmartinez updated https://github.com/llvm/llvm-project/pull/130747

>From c017072c34203a25f4f179dc70e4adc27094c5dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Juan=20Manuel=20Martinez=20Caama=C3=B1o?= <juamarti at amd.com>
Date: Mon, 10 Mar 2025 15:40:00 +0100
Subject: [PATCH] [Clang][NFC] Rename and update_cc_test_checks over
 strictfp-elementwise-builtins.cpp

---
 ...ntwise-bulitins.cpp => strictfp-elementwise-builtins.cpp} | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
 rename clang/test/CodeGen/{strictfp-elementwise-bulitins.cpp => strictfp-elementwise-builtins.cpp} (98%)

diff --git a/clang/test/CodeGen/strictfp-elementwise-bulitins.cpp b/clang/test/CodeGen/strictfp-elementwise-builtins.cpp
similarity index 98%
rename from clang/test/CodeGen/strictfp-elementwise-bulitins.cpp
rename to clang/test/CodeGen/strictfp-elementwise-builtins.cpp
index 175ad22601839..9b92c259c9895 100644
--- a/clang/test/CodeGen/strictfp-elementwise-bulitins.cpp
+++ b/clang/test/CodeGen/strictfp-elementwise-builtins.cpp
@@ -340,9 +340,8 @@ float4 strict_elementwise_pow(float4 a, float4 b) {
 // CHECK-LABEL: define dso_local noundef <4 x float> @_Z23strict_elementwise_fmodDv4_fS_
 // CHECK-SAME: (<4 x float> noundef [[A:%.*]], <4 x float> noundef [[B:%.*]]) local_unnamed_addr #[[ATTR0]] {
 // CHECK-NEXT:  entry:
-// CHECK-NEXT:    [[TMP0:%.*]] = tail call <4 x float> @llvm.experimental.constrained.frem.v4f32(<4 x float> [[A]], <4 x float> [[B]],
-// CHECK-SAME:    metadata !"round.dynamic", metadata !"fpexcept.strict") #[[ATTR4]]
-// CHECK-NEXT:    ret <4 x float> [[TMP0]]
+// CHECK-NEXT:    [[FMOD:%.*]] = tail call <4 x float> @llvm.experimental.constrained.frem.v4f32(<4 x float> [[A]], <4 x float> [[B]], metadata !"round.dynamic", metadata !"fpexcept.strict") #[[ATTR4]]
+// CHECK-NEXT:    ret <4 x float> [[FMOD]]
 //
 float4 strict_elementwise_fmod(float4 a, float4 b) {
   return __builtin_elementwise_fmod(a, b);



More information about the cfe-commits mailing list