|
@@ -97,6 +97,12 @@
|
|
|
// RUN: | FileCheck --check-prefix=CHECK-NO-MATH-ERRNO %s
|
|
|
// RUN: %clang -### -target x86_64-linux-android -c %s 2>&1 \
|
|
|
// RUN: | FileCheck --check-prefix=CHECK-NO-MATH-ERRNO %s
|
|
|
+// RUN: %clang -### -target amdgcn-amd-amdhsa -c %s 2>&1 \
|
|
|
+// RUN: | FileCheck --check-prefix=CHECK-NO-MATH-ERRNO %s
|
|
|
+// RUN: %clang -### -target amdgcn-amd-amdpal -c %s 2>&1 \
|
|
|
+// RUN: | FileCheck --check-prefix=CHECK-NO-MATH-ERRNO %s
|
|
|
+// RUN: %clang -### -target amdgcn-mesa-mesa3d -c %s 2>&1 \
|
|
|
+// RUN: | FileCheck --check-prefix=CHECK-NO-MATH-ERRNO %s
|
|
|
//
|
|
|
// Check that -ffast-math disables -fmath-errno, and -fno-fast-math merely
|
|
|
// preserves the target default. Also check various flag set operations between
|