Skip to content

Commit efdc65b

Browse files
author
z1_cciauto
authored
merge main into amd-staging (llvm#3542)
2 parents 6361d0b + a20fdfd commit efdc65b

File tree

181 files changed

+4868
-829
lines changed

Some content is hidden

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

181 files changed

+4868
-829
lines changed

clang/lib/Headers/avx512fintrin.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@ typedef enum
180180
#define __DEFAULT_FN_ATTRS512_CONSTEXPR __DEFAULT_FN_ATTRS512 constexpr
181181
#define __DEFAULT_FN_ATTRS128_CONSTEXPR __DEFAULT_FN_ATTRS128 constexpr
182182
#else
183-
#define __DEFAULT_FN_ATTRS_CONSTEXPR __DEFAULT_FN_ATTRS128
183+
#define __DEFAULT_FN_ATTRS_CONSTEXPR __DEFAULT_FN_ATTRS
184184
#define __DEFAULT_FN_ATTRS512_CONSTEXPR __DEFAULT_FN_ATTRS512
185-
#define __DEFAULT_FN_ATTRS128_CONSTEXPR __DEFAULT_FN_ATTRS
185+
#define __DEFAULT_FN_ATTRS128_CONSTEXPR __DEFAULT_FN_ATTRS128
186186
#endif
187187

188188
/* Create vectors with repeated elements */

clang/lib/Headers/avxintrin.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ typedef __bf16 __m256bh __attribute__((__vector_size__(32), __aligned__(32)));
7070
#define __DEFAULT_FN_ATTRS_CONSTEXPR __DEFAULT_FN_ATTRS constexpr
7171
#define __DEFAULT_FN_ATTRS128_CONSTEXPR __DEFAULT_FN_ATTRS128 constexpr
7272
#else
73-
#define __DEFAULT_FN_ATTRS_CONSTEXPR __DEFAULT_FN_ATTRS128
74-
#define __DEFAULT_FN_ATTRS128_CONSTEXPR __DEFAULT_FN_ATTRS
73+
#define __DEFAULT_FN_ATTRS_CONSTEXPR __DEFAULT_FN_ATTRS
74+
#define __DEFAULT_FN_ATTRS128_CONSTEXPR __DEFAULT_FN_ATTRS128
7575
#endif
7676

7777
/* Arithmetic */

cross-project-tests/debuginfo-tests/dexter/dex/debugger/DAP.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ def launch(self, cmdline):
635635
def _post_step_hook(self):
636636
"""Hook to be executed after completing a step request."""
637637

638-
def step(self):
638+
def step_in(self):
639639
self._flush_breakpoints()
640640
step_req_id = self.send_message(
641641
self.make_request("stepIn", {"threadId": self._debugger_state.thread})

cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerBase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def launch(self):
184184
pass
185185

186186
@abc.abstractmethod
187-
def step(self):
187+
def step_in(self):
188188
pass
189189

190190
@abc.abstractmethod

cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/DefaultController.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def _run_debugger_custom(self, cmdline):
128128
break
129129

130130
if in_source_file(self.source_files, step_info):
131-
self.debugger.step()
131+
self.debugger.step_in()
132132
else:
133133
self.debugger.go()
134134

cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/dbgeng.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def launch(self, cmdline):
111111
# We are, by this point, already launched.
112112
self.step_info = probe_process.probe_state(self.client)
113113

114-
def step(self):
114+
def step_in(self):
115115
res = setup.step_once(self.client)
116116
if not res:
117117
self.finished = True
@@ -122,7 +122,7 @@ def go(self):
122122
# relevant source file -- this is likely to be a problem when setting
123123
# breakpoints. Until that's fixed, single step instead of running
124124
# freely. This isn't very efficient, but at least makes progress.
125-
self.step()
125+
self.step_in()
126126

127127
def _get_step_info(self, watches, step_index):
128128
frames = self.step_info

cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb/LLDB.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def launch(self, cmdline):
204204
assert num_stopped_threads > 0
205205
assert self._thread, (self._process, self._thread)
206206

207-
def step(self):
207+
def step_in(self):
208208
self._thread.StepInto()
209209
stop_reason = self._thread.GetStopReason()
210210
# If we (1) completed a step and (2) are sitting at a breakpoint,

cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def launch(self, cmdline):
308308
self.context.logger.note("Launching VS debugger...")
309309
self._fn_go(False)
310310

311-
def step(self):
311+
def step_in(self):
312312
self._fn_step(False)
313313

314314
def go(self) -> ReturnCode:

libclc/clc/include/clc/clcfunc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#define _CLC_OVERLOAD __attribute__((overloadable))
1313
#define _CLC_DECL
1414
#define _CLC_INLINE __attribute__((always_inline)) inline
15+
#define _CLC_CONST __attribute__((const))
1516

1617
// avoid inlines for SPIR-V related targets since we'll optimise later in the
1718
// chain

libclc/clc/include/clc/common/clc_smoothstep.inc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
_CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE __clc_smoothstep(__CLC_GENTYPE edge0,
10-
__CLC_GENTYPE edge1,
11-
__CLC_GENTYPE x);
9+
_CLC_OVERLOAD _CLC_CONST _CLC_DECL __CLC_GENTYPE
10+
__clc_smoothstep(__CLC_GENTYPE edge0, __CLC_GENTYPE edge1, __CLC_GENTYPE x);

0 commit comments

Comments
 (0)