From 331e94889cef172495fb304c10d9f3f5f4b1fcd3 Mon Sep 17 00:00:00 2001 From: Vassil Vassilev Date: Mon, 16 Sep 2024 17:35:54 +0000 Subject: [PATCH] Adjust BasicOps.C --- test/ErrorEstimation/BasicOps.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/ErrorEstimation/BasicOps.C b/test/ErrorEstimation/BasicOps.C index f1ddce114..81ee76fa7 100644 --- a/test/ErrorEstimation/BasicOps.C +++ b/test/ErrorEstimation/BasicOps.C @@ -133,7 +133,7 @@ float func4(float x, float y) { return std::pow(x, y); } //CHECK: void func4_grad(float x, float y, float *_d_x, float *_d_y, double &_final_error) { //CHECK-NEXT: double _ret_value0 = 0.; -//CHECK-NEXT: _ret_value0 = std::pow(x, y); +//CHECK-NEXT: _ret_value0 = {{(std::pow|__builtin_powf)\(.*\);}} //CHECK-NEXT: { //CHECK-NEXT: float _r0 = 0.F; //CHECK-NEXT: float _r1 = 0.F; @@ -155,7 +155,7 @@ float func5(float x, float y) { //CHECK: void func5_grad(float x, float y, float *_d_x, float *_d_y, double &_final_error) { //CHECK-NEXT: double _ret_value0 = 0.; //CHECK-NEXT: float _t0 = y; -//CHECK-NEXT: y = std::sin(x); +//CHECK-NEXT: y = {{(std::sin|__builtin_sinf)\(.*\);}} //CHECK-NEXT: _ret_value0 = y * y; //CHECK-NEXT: { //CHECK-NEXT: *_d_y += 1 * y;