From: Adam Nemet Date: Wed, 22 Mar 2017 00:58:15 +0000 (+0000) Subject: Change -ffp-contract=fast test to run on Aarch64 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fa33394bb70481412493fcf40d53ebdb2e738058;p=clang Change -ffp-contract=fast test to run on Aarch64 (I don't have powerpc enabled in my build and I am changing how -ffp-contract=fast works.) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@298468 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/ffp-contract-option.c b/test/CodeGen/ffp-contract-option.c index 61913b0aa3..52b7507959 100644 --- a/test/CodeGen/ffp-contract-option.c +++ b/test/CodeGen/ffp-contract-option.c @@ -1,8 +1,8 @@ -// RUN: %clang_cc1 -O3 -ffp-contract=fast -triple=powerpc-apple-darwin10 -S -o - %s | FileCheck %s -// REQUIRES: powerpc-registered-target +// RUN: %clang_cc1 -O3 -ffp-contract=fast -triple=aarch64-apple-darwin -S -o - %s | FileCheck %s +// REQUIRES: aarch64-registered-target float fma_test1(float a, float b, float c) { -// CHECK: fmadds +// CHECK: fmadd float x = a * b; float y = x + c; return y;