[clang] 5963e02 - Temporarily remove test CodeGen/pragma-fp-exc
Serge Pavlov via cfe-commits
cfe-commits at lists.llvm.org
Sat Oct 31 05:50:20 PDT 2020
Author: Serge Pavlov
Date: 2020-10-31T19:48:44+07:00
New Revision: 5963e028e7145d68b70be128d13e26a02095a0ad
URL: https://github.com/llvm/llvm-project/commit/5963e028e7145d68b70be128d13e26a02095a0ad
DIFF: https://github.com/llvm/llvm-project/commit/5963e028e7145d68b70be128d13e26a02095a0ad.diff
LOG: Temporarily remove test CodeGen/pragma-fp-exc
This test fails on buildbots where CPU architecture does not fully
support constrained intrinsics.
Added:
Modified:
Removed:
clang/test/CodeGen/pragma-fp-exc.cpp
################################################################################
diff --git a/clang/test/CodeGen/pragma-fp-exc.cpp b/clang/test/CodeGen/pragma-fp-exc.cpp
deleted file mode 100644
index c51b7e63204c..000000000000
--- a/clang/test/CodeGen/pragma-fp-exc.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -o - %s | FileCheck --check-prefix=CHECK-DEF %s
-// RUN: %clang_cc1 -triple %itanium_abi_triple -ffp-exception-behavior=strict -emit-llvm -o - %s | FileCheck --check-prefix=CHECK-STRICT %s
-
-float func_01(float x, float y, float z) {
- float res = x + y;
- {
-#pragma clang fp exceptions(maytrap)
- res += z;
- }
- return res;
-}
-// CHECK-DEF-LABEL: @_Z7func_01fff
-// CHECK-DEF: call float @llvm.experimental.constrained.fadd.f32(float {{.*}}, float {{.*}}, metadata !"round.tonearest", metadata !"fpexcept.ignore")
-// CHECK-DEF: call float @llvm.experimental.constrained.fadd.f32(float {{.*}}, float {{.*}}, metadata !"round.tonearest", metadata !"fpexcept.maytrap")
-
-// CHECK-STRICT-LABEL: @_Z7func_01fff
-// CHECK-STRICT: call float @llvm.experimental.constrained.fadd.f32(float {{.*}}, float {{.*}}, metadata !"round.tonearest", metadata !"fpexcept.strict")
-// CHECK-STRICT: call float @llvm.experimental.constrained.fadd.f32(float {{.*}}, float {{.*}}, metadata !"round.tonearest", metadata !"fpexcept.maytrap")
More information about the cfe-commits
mailing list