Skip to content

Commit e7698fc

Browse files
SC llvm teamSC llvm team
authored andcommitted
Merged main:cd31cf5989aaf6a187aaf3af4f94207c55a70d0f into amd-gfx:4fba6d27ced4
Local branch amd-gfx 4fba6d2 Merged main:f42ce1621f5f4129fb37c4a1af958e1d47344107 into amd-gfx:9e1c87f1791b Remote branch main cd31cf5 [InstSimplify] Fix or disjoint miscompile with op replacement
2 parents 4fba6d2 + cd31cf5 commit e7698fc

File tree

41 files changed

+258
-172
lines changed

Some content is hidden

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

41 files changed

+258
-172
lines changed

clang/test/CXX/drs/dr1xx.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ namespace dr107 { // dr107: yes
7272
extern "C" S operator+(S, S) { return S(); }
7373
}
7474

75-
namespace dr108 { // dr108: yes
75+
namespace dr108 { // dr108: 2.9
7676
template<typename T> struct A {
7777
struct B { typedef int X; };
7878
B::X x;
@@ -143,7 +143,7 @@ namespace dr114 { // dr114: yes
143143
} b; // expected-error {{abstract}}
144144
}
145145

146-
namespace dr115 { // dr115: yes
146+
namespace dr115 { // dr115: 3.0
147147
template<typename T> int f(T); // expected-note +{{}}
148148
template<typename T> int g(T); // expected-note +{{}}
149149
template<typename T> int g(T, int); // expected-note +{{}}
@@ -480,7 +480,7 @@ namespace dr140 { // dr140: yes
480480
void g(int n) { n = 2; }
481481
}
482482

483-
namespace dr141 { // dr141: yes
483+
namespace dr141 { // dr141: 3.1
484484
template<typename T> void f();
485485
template<typename T> struct S { int n; }; // expected-note {{'::dr141::S<int>::n' declared here}}
486486
struct A : S<int> {
@@ -518,7 +518,7 @@ namespace dr141 { // dr141: yes
518518
void i() { C<X>().i(); } // ok!!
519519
}
520520

521-
namespace dr142 { // dr142: yes
521+
namespace dr142 { // dr142: 2.8
522522
class B { // expected-note +{{here}}
523523
public:
524524
int mi; // expected-note +{{here}}
@@ -602,7 +602,7 @@ namespace dr148 { // dr148: yes
602602

603603
// dr149: na
604604

605-
namespace dr151 { // dr151: yes
605+
namespace dr151 { // dr151: 3.1
606606
struct X {};
607607
typedef int X::*p;
608608
#if __cplusplus < 201103L
@@ -655,7 +655,7 @@ namespace dr159 { // dr159: 3.5
655655

656656
// dr160: na
657657

658-
namespace dr161 { // dr161: yes
658+
namespace dr161 { // dr161: 3.1
659659
class A {
660660
protected:
661661
struct B { int n; } b; // expected-note 2{{here}}
@@ -724,7 +724,7 @@ namespace dr165 { // dr165: no
724724
void N::g() {}
725725
}
726726

727-
namespace dr166 { // dr166: yes
727+
namespace dr166 { // dr166: 2.9
728728
namespace A { class X; }
729729

730730
template<typename T> int f(T t) { return t.n; }
@@ -827,7 +827,7 @@ namespace dr173 { // dr173: yes
827827

828828
// dr174: sup 1012
829829

830-
namespace dr175 { // dr175: yes
830+
namespace dr175 { // dr175: 2.8
831831
struct A {}; // expected-note {{here}}
832832
struct B : private A {}; // expected-note {{constrained by private inheritance}}
833833
struct C : B {
@@ -836,7 +836,7 @@ namespace dr175 { // dr175: yes
836836
};
837837
}
838838

839-
namespace dr176 { // dr176: yes
839+
namespace dr176 { // dr176: 3.1
840840
template<typename T> class Y;
841841
template<> class Y<int> {
842842
void f() {
@@ -904,7 +904,7 @@ namespace dr179 { // dr179: yes
904904
int n = &f - &f; // expected-error {{arithmetic on pointers to the function type 'void ()'}}
905905
}
906906

907-
namespace dr180 { // dr180: yes
907+
namespace dr180 { // dr180: 2.8
908908
template<typename T> struct X : T, T::some_base {
909909
X() : T::some_type_that_might_be_T(), T::some_base() {}
910910
friend class T::some_class;

clang/www/cxx_dr_status.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
685685
<td><a href="https://cplusplus.github.io/CWG/issues/108.html">108</a></td>
686686
<td>TC1</td>
687687
<td>Are classes nested in templates dependent?</td>
688-
<td class="full" align="center">Yes</td>
688+
<td class="full" align="center">Clang 2.9</td>
689689
</tr>
690690
<tr id="109">
691691
<td><a href="https://cplusplus.github.io/CWG/issues/109.html">109</a></td>
@@ -727,7 +727,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
727727
<td><a href="https://cplusplus.github.io/CWG/issues/115.html">115</a></td>
728728
<td>CD1</td>
729729
<td>Address of template-id</td>
730-
<td class="full" align="center">Yes</td>
730+
<td class="full" align="center">Clang 3.0</td>
731731
</tr>
732732
<tr id="116">
733733
<td><a href="https://cplusplus.github.io/CWG/issues/116.html">116</a></td>
@@ -883,13 +883,13 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
883883
<td><a href="https://cplusplus.github.io/CWG/issues/141.html">141</a></td>
884884
<td>CD1</td>
885885
<td>Non-member function templates in member access expressions</td>
886-
<td class="full" align="center">Yes</td>
886+
<td class="full" align="center">Clang 3.1</td>
887887
</tr>
888888
<tr id="142">
889889
<td><a href="https://cplusplus.github.io/CWG/issues/142.html">142</a></td>
890890
<td>TC1</td>
891891
<td>Injection-related errors in access example</td>
892-
<td class="full" align="center">Yes</td>
892+
<td class="full" align="center">Clang 2.8</td>
893893
</tr>
894894
<tr id="143">
895895
<td><a href="https://cplusplus.github.io/CWG/issues/143.html">143</a></td>
@@ -943,7 +943,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
943943
<td><a href="https://cplusplus.github.io/CWG/issues/151.html">151</a></td>
944944
<td>TC1</td>
945945
<td>Terminology of zero-initialization</td>
946-
<td class="full" align="center">Yes</td>
946+
<td class="full" align="center">Clang 3.1</td>
947947
</tr>
948948
<tr id="152">
949949
<td><a href="https://cplusplus.github.io/CWG/issues/152.html">152</a></td>
@@ -1003,7 +1003,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
10031003
<td><a href="https://cplusplus.github.io/CWG/issues/161.html">161</a></td>
10041004
<td>TC1</td>
10051005
<td>Access to protected nested type</td>
1006-
<td class="full" align="center">Yes</td>
1006+
<td class="full" align="center">Clang 3.1</td>
10071007
</tr>
10081008
<tr id="162">
10091009
<td><a href="https://cplusplus.github.io/CWG/issues/162.html">162</a></td>
@@ -1033,7 +1033,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
10331033
<td><a href="https://cplusplus.github.io/CWG/issues/166.html">166</a></td>
10341034
<td>TC1</td>
10351035
<td>Friend declarations of <I>template-id</I>s</td>
1036-
<td class="full" align="center">Yes</td>
1036+
<td class="full" align="center">Clang 2.9</td>
10371037
</tr>
10381038
<tr id="167">
10391039
<td><a href="https://cplusplus.github.io/CWG/issues/167.html">167</a></td>
@@ -1087,13 +1087,13 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
10871087
<td><a href="https://cplusplus.github.io/CWG/issues/175.html">175</a></td>
10881088
<td>CD1</td>
10891089
<td>Class name injection and base name access</td>
1090-
<td class="full" align="center">Yes</td>
1090+
<td class="full" align="center">Clang 2.8</td>
10911091
</tr>
10921092
<tr id="176">
10931093
<td><a href="https://cplusplus.github.io/CWG/issues/176.html">176</a></td>
10941094
<td>TC1</td>
10951095
<td>Name injection and templates</td>
1096-
<td class="full" align="center">Yes</td>
1096+
<td class="full" align="center">Clang 3.1</td>
10971097
</tr>
10981098
<tr id="177">
10991099
<td><a href="https://cplusplus.github.io/CWG/issues/177.html">177</a></td>
@@ -1117,7 +1117,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
11171117
<td><a href="https://cplusplus.github.io/CWG/issues/180.html">180</a></td>
11181118
<td>CD1</td>
11191119
<td><TT>typename</TT> and elaborated types</td>
1120-
<td class="full" align="center">Yes</td>
1120+
<td class="full" align="center">Clang 2.8</td>
11211121
</tr>
11221122
<tr id="181">
11231123
<td><a href="https://cplusplus.github.io/CWG/issues/181.html">181</a></td>

libcxx/test/libcxx/numerics/bit.ops.pass.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
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
//===----------------------------------------------------------------------===//
8+
99
// Test the __XXXX routines in the <bit> header.
1010
// These are not supposed to be exhaustive tests, just sanity checks.
1111

libcxx/test/libcxx/utilities/memory/ptr.align/assume_aligned.power2.verify.cpp

Lines changed: 3 additions & 4 deletions
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

libcxx/test/std/containers/sequences/forwardlist/forwardlist.spec/equal.pass.cpp

Lines changed: 3 additions & 4 deletions
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

libcxx/test/std/containers/sequences/forwardlist/forwardlist.spec/member_swap.pass.cpp

Lines changed: 3 additions & 4 deletions
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

libcxx/test/std/containers/sequences/forwardlist/forwardlist.spec/non_member_swap.pass.cpp

Lines changed: 3 additions & 4 deletions
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

libcxx/test/std/containers/sequences/forwardlist/forwardlist.spec/relational.pass.cpp

Lines changed: 3 additions & 4 deletions
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

libcxx/test/std/containers/sequences/forwardlist/forwardlist.spec/swap_noexcept.pass.cpp

Lines changed: 3 additions & 4 deletions
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

libcxx/test/std/language.support/support.dynamic/destroying_delete_t.pass.cpp

Lines changed: 3 additions & 4 deletions
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

libcxx/test/std/language.support/support.dynamic/destroying_delete_t_declaration.pass.cpp

Lines changed: 3 additions & 4 deletions
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

libcxx/test/std/language.support/support.dynamic/nothrow_t.pass.cpp

Lines changed: 3 additions & 4 deletions
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

libcxx/test/std/language.support/support.dynamic/nothrow_t.verify.cpp

Lines changed: 3 additions & 4 deletions
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

libcxx/test/std/numerics/bit/bit.pow.two/bit_ceil.pass.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
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
//===----------------------------------------------------------------------===//
8+
99
// UNSUPPORTED: c++03, c++11, c++14, c++17
1010

1111
// template <class T>

libcxx/test/std/numerics/bit/bit.pow.two/bit_ceil.verify.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
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
//===----------------------------------------------------------------------===//
8+
99
// UNSUPPORTED: c++03, c++11, c++14, c++17
1010

1111
// template <class T>

libcxx/test/std/numerics/bit/bit.pow.two/bit_floor.pass.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
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
//===----------------------------------------------------------------------===//
8+
99
// UNSUPPORTED: c++03, c++11, c++14, c++17
1010

1111
// template <class T>

libcxx/test/std/numerics/bit/bit.pow.two/bit_width.pass.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
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
//===----------------------------------------------------------------------===//
8+
99
// UNSUPPORTED: c++03, c++11, c++14, c++17
1010

1111
// template <class T>

0 commit comments

Comments
 (0)