Author: Melanie Blower Date: 2020-05-04T07:27:40-07:00 New Revision: 7cbb495ab452877496df270678f9b0a8d57ab7e7
URL: https://github.com/llvm/llvm-project/commit/7cbb495ab452877496df270678f9b0a8d57ab7e7 DIFF: https://github.com/llvm/llvm-project/commit/7cbb495ab452877496df270678f9b0a8d57ab7e7.diff LOG: Fix LABEL match for test case for D72841 #pragma float_control Added: Modified: clang/test/CodeGen/fp-floatcontrol-class.cpp Removed: ################################################################################ diff --git a/clang/test/CodeGen/fp-floatcontrol-class.cpp b/clang/test/CodeGen/fp-floatcontrol-class.cpp index ce4e0eb01390..324c3cc14f6f 100644 --- a/clang/test/CodeGen/fp-floatcontrol-class.cpp +++ b/clang/test/CodeGen/fp-floatcontrol-class.cpp @@ -1,6 +1,5 @@ // RUN: %clang_cc1 -ffp-contract=on -triple %itanium_abi_triple -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -ffp-contract=on -triple x86_64-linux-gnu -emit-llvm -o - %s | FileCheck %s -// RUN: %clang_cc1 -ffp-contract=on -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck %s // Verify that float_control does not pertain to initializer expressions float y(); @@ -8,14 +7,14 @@ float z(); #pragma float_control(except, on) class ON { float w = 2 + y() * z(); - // CHECK-LABEL: define {{.*}} void @_ZN2ONC2Ev{{.*}} + // CHECK-LABEL: define {{.*}} @_ZN2ONC2Ev{{.*}} //CHECK: call contract float {{.*}}llvm.fmuladd }; ON on; #pragma float_control(except, off) class OFF { float w = 2 + y() * z(); - // CHECK-LABEL: define {{.*}} void @_ZN3OFFC2Ev{{.*}} + // CHECK-LABEL: define {{.*}} @_ZN3OFFC2Ev{{.*}} //CHECK: call contract float {{.*}}llvm.fmuladd }; OFF off; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits