Skip to content

Commit 56a4413

Browse files
committed
Update remaining file headers of LLVM-project code to the new license.
For details, see r351675 which intalled the new license for the test suite, and r351676 which handled headers in the ABI test suite. This also involved cleaning up some weirdly mis-formatted headers in the glib compat stubs. git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@351677 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 879bd8d commit 56a4413

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+252
-225
lines changed

External/CUDA/cmath.cu

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//===----------------------------------------------------------------------===//
22
//
3-
// The LLVM Compiler Infrastructure
4-
//
5-
// This file is dual licensed under the MIT and the University of Illinois Open
6-
// Source Licenses. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
//
87
//===----------------------------------------------------------------------===//
98

External/CUDA/complex.cu

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//===----------------------------------------------------------------------===//
22
//
3-
// The LLVM Compiler Infrastructure
4-
//
5-
// This file is dual licensed under the MIT and the University of Illinois Open
6-
// Source Licenses. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
//
87
//===----------------------------------------------------------------------===//
98

External/CUDA/math_h.cu

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//===----------------------------------------------------------------------===//
22
//
3-
// The LLVM Compiler Infrastructure
4-
//
5-
// This file is dual licensed under the MIT and the University of Illinois Open
6-
// Source Licenses. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
//
87
//===----------------------------------------------------------------------===//
98

External/CUDA/simd.cu

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//===----------------------------------------------------------------------===//
22
//
3-
// The LLVM Compiler Infrastructure
4-
//
5-
// This file is dual licensed under the MIT and the University of Illinois Open
6-
// Source Licenses. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
//
87
//===----------------------------------------------------------------------===//
98

Makefile

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
##===- projects/llvm-test/Makefile -------------------------*- Makefile -*-===##
22
#
3-
# The LLVM Compiler Infrastructure
4-
#
5-
# This file is distributed under the University of Illinois Open Source
6-
# License. See LICENSE.TXT for details.
3+
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
# See https://llvm.org/LICENSE.txt for license information.
5+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
#
87
##===----------------------------------------------------------------------===##
98
#

Makefile.FORTRAN

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
##===- Makefile.FORTRAN ------------------------------------*- Makefile -*-===##
22
#
3-
# The LLVM Compiler Infrastructure
4-
#
5-
# This file is distributed under the University of Illinois Open Source
6-
# License. See LICENSE.TXT for details.
3+
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
# See https://llvm.org/LICENSE.txt for license information.
5+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
#
87
#===------------------------------------------------------------------------===#
98
#

Makefile.common

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
#===-- Makefile.common - Common make rules for LLVM --------*- Makefile -*--===#
22
#
3-
# The LLVM Compiler Infrastructure
4-
#
5-
# This file is distributed under the University of Illinois Open Source
6-
# License. See LICENSE.TXT for details.
3+
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
# See https://llvm.org/LICENSE.txt for license information.
5+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
#
87
#===------------------------------------------------------------------------===#
98

Makefile.f2c

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
##===- Makefile.f2c ----------------------------------------*- Makefile -*-===##
22
#
3-
# The LLVM Compiler Infrastructure
4-
#
5-
# This file is distributed under the University of Illinois Open Source
6-
# License. See LICENSE.TXT for details.
3+
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
# See https://llvm.org/LICENSE.txt for license information.
5+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
#
87
#===------------------------------------------------------------------------===#
98
#

Makefile.nagfortran

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
##===- Makefile.nagfortran ---------------------------------*- Makefile -*-===##
22
#
3-
# The LLVM Compiler Infrastructure
4-
#
5-
# This file is distributed under the University of Illinois Open Source
6-
# License. See LICENSE.TXT for details.
3+
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
# See https://llvm.org/LICENSE.txt for license information.
5+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
#
87
#===------------------------------------------------------------------------===#
98
#

Makefile.rules

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
#===-- Makefile.rules - Common make rules for LLVM ---------*- Makefile -*--===#
22
#
3-
# The LLVM Compiler Infrastructure
4-
#
5-
# This file is distributed under the University of Illinois Open Source
6-
# License. See LICENSE.TXT for details.
3+
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
# See https://llvm.org/LICENSE.txt for license information.
5+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
#
87
#===------------------------------------------------------------------------===#
98
#

MicroBenchmarks/ImageProcessing/utils/glibc_compat_rand.c

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/*===------------ glibc_compat_rand.c - glibc rand emulation --------------===*\
22
*
3-
* The LLVM Compiler Infrastructure
4-
*
5-
* This file is distributed under the University of Illinois Open Source
6-
* License. See LICENSE.TXT for details.
3+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
* See https://llvm.org/LICENSE.txt for license information.
5+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
*
87
\*===----------------------------------------------------------------------===*/
98

MicroBenchmarks/ImageProcessing/utils/glibc_compat_rand.h

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/*===------------- glibc_compat_rand.h- glibc rand emulation --------------===*\
22
|*
3-
|* The LLVM Compiler Infrastructure
4-
|*
5-
|* This file is distributed under the University of Illinois Open Source
6-
|* License. See LICENSE.TXT for details.
3+
|* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
|* See https://llvm.org/LICENSE.txt for license information.
5+
|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
|*
87
\*===----------------------------------------------------------------------===*/
98

MicroBenchmarks/XRay/FDRMode/fdrmode-bench.cc

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//===- fdrmode-bench.cc - XRay Instrumentation Benchmarks -----------------===//
22
//
3-
// The LLVM Compiler Infrastructure
4-
//
5-
// This file is distributed under the University of Illinois Open Source
6-
// License. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
//
87
//===----------------------------------------------------------------------===//
98
//

MicroBenchmarks/XRay/ReturnReference/retref-bench.cc

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//===- retref-bench.cc - XRay Instrumentation Benchmarks ------------------===//
22
//
3-
// The LLVM Compiler Infrastructure
4-
//
5-
// This file is distributed under the University of Illinois Open Source
6-
// License. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
//
87
//===----------------------------------------------------------------------===//
98
//

MultiSource/Benchmarks/DOE-ProxyApps-C++/CLAMR/glibc_compat_rand.c

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/*===------------ glibc_compat_rand.c - glibc rand emulation --------------===*\
22
*
3-
* The LLVM Compiler Infrastructure
4-
*
5-
* This file is distributed under the University of Illinois Open Source
6-
* License. See LICENSE.TXT for details.
3+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
* See https://llvm.org/LICENSE.txt for license information.
5+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
*
87
\*===----------------------------------------------------------------------===*/
98

MultiSource/Benchmarks/DOE-ProxyApps-C++/CLAMR/glibc_compat_rand.h

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/*===------------- glibc_compat_rand.h- glibc rand emulation --------------===*\
22
|*
3-
|* The LLVM Compiler Infrastructure
4-
|*
5-
|* This file is distributed under the University of Illinois Open Source
6-
|* License. See LICENSE.TXT for details.
3+
|* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
|* See https://llvm.org/LICENSE.txt for license information.
5+
|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
|*
87
\*===----------------------------------------------------------------------===*/
98

MultiSource/Benchmarks/DOE-ProxyApps-C/RSBench/glibc_compat_rand.c

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/*===------------ glibc_compat_rand.c - glibc rand emulation --------------===*\
22
*
3-
* The LLVM Compiler Infrastructure
4-
*
5-
* This file is distributed under the University of Illinois Open Source
6-
* License. See LICENSE.TXT for details.
3+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
* See https://llvm.org/LICENSE.txt for license information.
5+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
*
87
\*===----------------------------------------------------------------------===*/
98

MultiSource/Benchmarks/DOE-ProxyApps-C/RSBench/glibc_compat_rand.h

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
/*===------------- glibc_compat_rand.h- glibc rand emulation --------------===*\
2-
* |*
3-
* |* The LLVM Compiler Infrastructure
4-
* |*
5-
* |* This file is distributed under the University of Illinois Open Source
6-
* |* License. See LICENSE.TXT for details.
7-
* |*
8-
* \*===----------------------------------------------------------------------===*/
2+
|*
3+
|* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
|* See https://llvm.org/LICENSE.txt for license information.
5+
|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6+
|*
7+
\*===----------------------------------------------------------------------===*/
98

109
#ifndef GLIBC_COMPAT_RAND_H
1110
#define GLIBC_COMPAT_RAND_H

MultiSource/Benchmarks/DOE-ProxyApps-C/SimpleMOC/glibc_compat_rand.c

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/*===------------ glibc_compat_rand.c - glibc rand emulation --------------===*\
22
*
3-
* The LLVM Compiler Infrastructure
4-
*
5-
* This file is distributed under the University of Illinois Open Source
6-
* License. See LICENSE.TXT for details.
3+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
* See https://llvm.org/LICENSE.txt for license information.
5+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
*
87
\*===----------------------------------------------------------------------===*/
98

MultiSource/Benchmarks/DOE-ProxyApps-C/SimpleMOC/glibc_compat_rand.h

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
/*===------------- glibc_compat_rand.h- glibc rand emulation --------------===*\
2-
* |*
3-
* |* The LLVM Compiler Infrastructure
4-
* |*
5-
* |* This file is distributed under the University of Illinois Open Source
6-
* |* License. See LICENSE.TXT for details.
7-
* |*
8-
* \*===----------------------------------------------------------------------===*/
2+
|*
3+
|* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
|* See https://llvm.org/LICENSE.txt for license information.
5+
|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6+
|*
7+
\*===----------------------------------------------------------------------===*/
98

109
#ifndef GLIBC_COMPAT_RAND_H
1110
#define GLIBC_COMPAT_RAND_H

MultiSource/Benchmarks/DOE-ProxyApps-C/miniAMR/glibc_compat_rand.c

+13-14
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
11
/*===------------ glibc_compat_rand.c - glibc rand emulation --------------===*\
2-
* *
3-
* * The LLVM Compiler Infrastructure
4-
* *
5-
* * This file is distributed under the University of Illinois Open Source
6-
* * License. See LICENSE.TXT for details.
7-
* *
8-
* \*===----------------------------------------------------------------------===*/
2+
*
3+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
* See https://llvm.org/LICENSE.txt for license information.
5+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6+
*
7+
\*===----------------------------------------------------------------------===*/
98

109
#include "glibc_compat_rand.h"
1110

1211
/**
13-
* * This rand implementation is designed to emulate the implementation of
14-
* * rand/srand in recent versions of glibc. This is used for programs which
15-
* * require this specific rand implementation in order to pass verification
16-
* * tests.
17-
* *
18-
* * For more information, see: http://www.mathstat.dal.ca/~selinger/random/
19-
* **/
12+
* This rand implementation is designed to emulate the implementation of
13+
* rand/srand in recent versions of glibc. This is used for programs which
14+
* require this specific rand implementation in order to pass verification
15+
* tests.
16+
*
17+
* For more information, see: http://www.mathstat.dal.ca/~selinger/random/
18+
**/
2019

2120
#define TABLE_SIZE 344
2221
static unsigned int table[TABLE_SIZE];

MultiSource/Benchmarks/DOE-ProxyApps-C/miniAMR/glibc_compat_rand.h

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
/*===------------- glibc_compat_rand.h- glibc rand emulation --------------===*\
2-
* |*
3-
* |* The LLVM Compiler Infrastructure
4-
* |*
5-
* |* This file is distributed under the University of Illinois Open Source
6-
* |* License. See LICENSE.TXT for details.
7-
* |*
8-
* \*===----------------------------------------------------------------------===*/
2+
|*
3+
|* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
|* See https://llvm.org/LICENSE.txt for license information.
5+
|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6+
|*
7+
\*===----------------------------------------------------------------------===*/
98

109
#ifndef GLIBC_COMPAT_RAND_H
1110
#define GLIBC_COMPAT_RAND_H

MultiSource/Benchmarks/Rodinia/Common/glibc_compat_rand.c

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/*===------------ glibc_compat_rand.c - glibc rand emulation --------------===*\
22
*
3-
* The LLVM Compiler Infrastructure
4-
*
5-
* This file is distributed under the University of Illinois Open Source
6-
* License. See LICENSE.TXT for details.
3+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
* See https://llvm.org/LICENSE.txt for license information.
5+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
*
87
\*===----------------------------------------------------------------------===*/
98

MultiSource/Benchmarks/Rodinia/Common/glibc_compat_rand.h

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/*===------------- glibc_compat_rand.h- glibc rand emulation --------------===*\
22
|*
3-
|* The LLVM Compiler Infrastructure
4-
|*
5-
|* This file is distributed under the University of Illinois Open Source
6-
|* License. See LICENSE.TXT for details.
3+
|* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
|* See https://llvm.org/LICENSE.txt for license information.
5+
|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76
|*
87
\*===----------------------------------------------------------------------===*/
98

SingleSource/UnitTests/Integer/SSAtest.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
//===--- SSAtest.c --- Test Cases for Bit Accurate Types ------------------===//
22
//
3-
// This file is distributed under the University of Illinois Open Source
4-
// License. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
56
//
67
//===----------------------------------------------------------------------===//
78
//

SingleSource/UnitTests/Integer/arith.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
//===--- arith.c --- Test Cases for Bit Accurate Types --------------------===//
22
//
3-
// This file is distributed under the University of Illinois Open Source
4-
// License. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
56
//
67
//===----------------------------------------------------------------------===//
78
//

SingleSource/UnitTests/Integer/array.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
//===--- array.c --- Test Cases for Bit Accurate Types --------------------===//
22
//
3-
// This file is distributed under the University of Illinois Open Source
4-
// License. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
56
//
67
//===----------------------------------------------------------------------===//
78
//

SingleSource/UnitTests/Integer/big_bit_concat.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
//===--- bit_concat.c --- Test The bit_concat builtin --------------------===//
22
//
3-
// This file is distributed under the University of Illinois Open Source
4-
// License. See LICENSE.TXT for details.
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
56
//
67
//===----------------------------------------------------------------------===//
78
//

0 commit comments

Comments
 (0)