[clang] e4ca64f - [Fixed Point] Add triples to test cases.

Bevin Hansson via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 8 07:32:05 PDT 2020


Author: Bevin Hansson
Date: 2020-04-08T16:31:36+02:00
New Revision: e4ca64f1ae8a3743a9bea4926e1e7889c5b02525

URL: https://github.com/llvm/llvm-project/commit/e4ca64f1ae8a3743a9bea4926e1e7889c5b02525
DIFF: https://github.com/llvm/llvm-project/commit/e4ca64f1ae8a3743a9bea4926e1e7889c5b02525.diff

LOG: [Fixed Point] Add triples to test cases.

This was causing some test failures.

Added: 
    

Modified: 
    clang/test/Frontend/fixed_point_compound.c
    clang/test/Frontend/fixed_point_unary.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Frontend/fixed_point_compound.c b/clang/test/Frontend/fixed_point_compound.c
index ee7700d01ef5..d470d5c22e80 100644
--- a/clang/test/Frontend/fixed_point_compound.c
+++ b/clang/test/Frontend/fixed_point_compound.c
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -ffixed-point -S -emit-llvm %s -o - | FileCheck %s --check-prefixes=CHECK,SIGNED
-// RUN: %clang_cc1 -ffixed-point -fpadding-on-unsigned-fixed-point -S -emit-llvm %s -o - | FileCheck %s --check-prefixes=CHECK,UNSIGNED
+// RUN: %clang_cc1 -ffixed-point -triple x86_64-unknown-linux-gnu -S -emit-llvm %s -o - | FileCheck %s --check-prefixes=CHECK,SIGNED
+// RUN: %clang_cc1 -ffixed-point -triple x86_64-unknown-linux-gnu -fpadding-on-unsigned-fixed-point -S -emit-llvm %s -o - | FileCheck %s --check-prefixes=CHECK,UNSIGNED
 
 short _Fract shf;
 _Accum a;

diff  --git a/clang/test/Frontend/fixed_point_unary.c b/clang/test/Frontend/fixed_point_unary.c
index 79af819fad8a..6b2a572dd821 100644
--- a/clang/test/Frontend/fixed_point_unary.c
+++ b/clang/test/Frontend/fixed_point_unary.c
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -ffixed-point -S -emit-llvm %s -o - | FileCheck %s --check-prefixes=CHECK,SIGNED
-// RUN: %clang_cc1 -ffixed-point -fpadding-on-unsigned-fixed-point -S -emit-llvm %s -o - | FileCheck %s --check-prefixes=CHECK,UNSIGNED
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -ffixed-point -S -emit-llvm %s -o - | FileCheck %s --check-prefixes=CHECK,SIGNED
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -ffixed-point -fpadding-on-unsigned-fixed-point -S -emit-llvm %s -o - | FileCheck %s --check-prefixes=CHECK,UNSIGNED
 
 _Accum a;
 _Fract f;


        


More information about the cfe-commits mailing list