[dragonegg] r220678 - Prune CRLF.

NAKAMURA Takumi geek4civic at gmail.com
Mon Oct 27 05:37:27 PDT 2014


Author: chapuni
Date: Mon Oct 27 07:37:26 2014
New Revision: 220678

URL: http://llvm.org/viewvc/llvm-project?rev=220678&view=rev
Log:
Prune CRLF.

Modified:
    dragonegg/trunk/test/validator/c/NoIROptimize.c
    dragonegg/trunk/test/validator/c/fma.c
    dragonegg/trunk/test/validator/c/iceil.c

Modified: dragonegg/trunk/test/validator/c/NoIROptimize.c
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/test/validator/c/NoIROptimize.c?rev=220678&r1=220677&r2=220678&view=diff
==============================================================================
--- dragonegg/trunk/test/validator/c/NoIROptimize.c (original)
+++ dragonegg/trunk/test/validator/c/NoIROptimize.c Mon Oct 27 07:37:26 2014
@@ -1,7 +1,7 @@
-// RUN: %dragonegg -S -O3 -fplugin-arg-dragonegg-llvm-ir-optimize=0 -fplugin-arg-dragonegg-debug-pass-arguments %s 2>&1 | FileCheck %s
-
-// CHECK-NOT: inline
-
-inline __attribute__ ((__always_inline__)) void foo(void) {}
-void bar(void) { foo(); }
-void qaz(void) { bar(); }
+// RUN: %dragonegg -S -O3 -fplugin-arg-dragonegg-llvm-ir-optimize=0 -fplugin-arg-dragonegg-debug-pass-arguments %s 2>&1 | FileCheck %s
+
+// CHECK-NOT: inline
+
+inline __attribute__ ((__always_inline__)) void foo(void) {}
+void bar(void) { foo(); }
+void qaz(void) { bar(); }

Modified: dragonegg/trunk/test/validator/c/fma.c
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/test/validator/c/fma.c?rev=220678&r1=220677&r2=220678&view=diff
==============================================================================
--- dragonegg/trunk/test/validator/c/fma.c (original)
+++ dragonegg/trunk/test/validator/c/fma.c Mon Oct 27 07:37:26 2014
@@ -1,10 +1,10 @@
-// RUN: %dragonegg -mfma4 -S %s -o - | FileCheck %s
-// XFAIL: gcc-4.5, i386, i486, i586, i686
-
-// CHECK: @fmaftest
-// CHECK: call float @llvm.fma.f32
-float fmaftest(float a, float b, float c) { return __builtin_fmaf(a, b, c); }
-
-// CHECK: @fmatest
-// CHECK: call double @llvm.fma.f64
-double fmatest(double a, double b, double c) { return __builtin_fma(a, b, c); }
+// RUN: %dragonegg -mfma4 -S %s -o - | FileCheck %s
+// XFAIL: gcc-4.5, i386, i486, i586, i686
+
+// CHECK: @fmaftest
+// CHECK: call float @llvm.fma.f32
+float fmaftest(float a, float b, float c) { return __builtin_fmaf(a, b, c); }
+
+// CHECK: @fmatest
+// CHECK: call double @llvm.fma.f64
+double fmatest(double a, double b, double c) { return __builtin_fma(a, b, c); }

Modified: dragonegg/trunk/test/validator/c/iceil.c
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/test/validator/c/iceil.c?rev=220678&r1=220677&r2=220678&view=diff
==============================================================================
--- dragonegg/trunk/test/validator/c/iceil.c (original)
+++ dragonegg/trunk/test/validator/c/iceil.c Mon Oct 27 07:37:26 2014
@@ -1,14 +1,14 @@
-// RUN: %dragonegg -S %s -o - -O2 -lm -ffast-math | FileCheck %s
-// PR14270
-
-// CHECK-NOT: builtin
-
-#include <math.h>
-
-int iceilf (float a) { return (int) ceil (a); }
-int iceil (double a) { return (int) ceil (a); }
-int iceill (long double a) { return (int) ceil (a); }
-
-int ifloorf (float a) { return (int) floor (a); }
-int ifloor (double a) { return (int) floor (a); }
-int ifloorl (long double a) { return (int) floor (a); }
+// RUN: %dragonegg -S %s -o - -O2 -lm -ffast-math | FileCheck %s
+// PR14270
+
+// CHECK-NOT: builtin
+
+#include <math.h>
+
+int iceilf (float a) { return (int) ceil (a); }
+int iceil (double a) { return (int) ceil (a); }
+int iceill (long double a) { return (int) ceil (a); }
+
+int ifloorf (float a) { return (int) floor (a); }
+int ifloor (double a) { return (int) floor (a); }
+int ifloorl (long double a) { return (int) floor (a); }





More information about the llvm-commits mailing list