[clang] [HLSL] Add matrix support to atan2 (PR #194984)

via cfe-commits cfe-commits at lists.llvm.org
Fri May 1 12:03:41 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 53770 tests passed
* 1172 tests skipped
* 2 tests failed

## Failed Tests
(click on a test name to see its output)

### Clang
<details>
<summary>Clang.CodeGenHLSL/builtins/atan2_mat.hlsl</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc -finclude-default-header -x hlsl -triple    dxil-pc-shadermodel6.3-library C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\builtins\atan2_mat.hlsl -fnative-half-type -fnative-int16-type    -emit-llvm -disable-llvm-passes -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\builtins\atan2_mat.hlsl    --check-prefixes=CHECK,NATIVE_HALF
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc -finclude-default-header -x hlsl -triple dxil-pc-shadermodel6.3-library 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\builtins\atan2_mat.hlsl' -fnative-half-type -fnative-int16-type -emit-llvm -disable-llvm-passes -o -
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\builtins\atan2_mat.hlsl:13:10: warning: 'atan2' is deprecated: In 202x 64 bit API lowering for atan2 is deprecated. Explicitly cast parameters to 32 or 16 bit types. [-Wdeprecated-declarations]
# |    13 |   return atan2(p0, p1);
# |       |          ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\hlsl/hlsl_compat_overloads.h:658:1: note: 'atan2' has been explicitly marked deprecated here
# |   658 | _DXC_COMPAT_BINARY_DOUBLE_MATRIX_OVERLOADS(atan2)
# |       | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\hlsl/hlsl_compat_overloads.h:234:3: note: expanded from macro '_DXC_COMPAT_BINARY_DOUBLE_MATRIX_OVERLOADS'
# |   234 |   _DXC_DEPRECATED_64BIT_FN(fn)                                                 \
# |       |   ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\hlsl/hlsl_compat_overloads.h:20:5: note: expanded from macro '_DXC_DEPRECATED_64BIT_FN'
# |    20 |   [[deprecated("In 202x 64 bit API lowering for " #fn " is deprecated. "       \
# |       |     ^
# | C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\builtins\atan2_mat.hlsl:13:10: warning: implicit conversion loses floating-point precision: 'float1x1' (aka 'matrix<float, 1, 1>') to 'matrix<half, 1, 1>' [-Wimplicit-float-conversion]
# |    13 |   return atan2(p0, p1);
# |       |   ~~~~~~ ^~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\builtins\atan2_mat.hlsl:124:10: warning: 'atan2' is deprecated: In 202x 64 bit API lowering for atan2 is deprecated. Explicitly cast parameters to 32 or 16 bit types. [-Wdeprecated-declarations]
# |   124 |   return atan2(p0, p1);
# |       |          ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\hlsl/hlsl_compat_overloads.h:658:1: note: 'atan2' has been explicitly marked deprecated here
# |   658 | _DXC_COMPAT_BINARY_DOUBLE_MATRIX_OVERLOADS(atan2)
# |       | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\hlsl/hlsl_compat_overloads.h:234:3: note: expanded from macro '_DXC_COMPAT_BINARY_DOUBLE_MATRIX_OVERLOADS'
# |   234 |   _DXC_DEPRECATED_64BIT_FN(fn)                                                 \
# |       |   ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\hlsl/hlsl_compat_overloads.h:20:5: note: expanded from macro '_DXC_DEPRECATED_64BIT_FN'
# |    20 |   [[deprecated("In 202x 64 bit API lowering for " #fn " is deprecated. "       \
# |       |     ^
# | 3 warnings generated.
# `-----------------------------
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\builtins\atan2_mat.hlsl' --check-prefixes=CHECK,NATIVE_HALF
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\builtins\atan2_mat.hlsl:10:17: error: NATIVE_HALF: expected string not found in input
# | // NATIVE_HALF: call reassoc nnan ninf nsz arcp afn <1 x half> @llvm.atan2.v1f16
# |                 ^
# | <stdin>:7:76: note: scanning from here
# | define hidden noundef nofpclass(nan inf) <1 x half> @_Z18test_atan2_half1x1u11matrix_typeILm1ELm1EDhES_(<1 x half> noundef nofpclass(nan inf) %p0, <1 x half> noundef nofpclass(nan inf) %p1) #0 {
# |                                                                            ^
# | <stdin>:14:11: note: possible intended match here
# |  %conv = fpext reassoc nnan ninf nsz arcp afn <1 x half> %0 to <1 x double>
# |           ^
# | C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\builtins\atan2_mat.hlsl:122:11: error: CHECK: expected string not found in input
# | // CHECK: call reassoc nnan ninf nsz arcp afn <1 x float> @llvm.atan2.v1f32
# |           ^
# | <stdin>:261:78: note: scanning from here
# | define hidden noundef nofpclass(nan inf) <1 x float> @_Z19test_atan2_float1x1u11matrix_typeILm1ELm1EfES_(<1 x float> noundef nofpclass(nan inf) %p0, <1 x float> noundef nofpclass(nan inf) %p1) #0 {
# |                                                                              ^
# | <stdin>:268:11: note: possible intended match here
# |  %conv = fpext reassoc nnan ninf nsz arcp afn <1 x float> %0 to <1 x double>
# |           ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\builtins\atan2_mat.hlsl
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              1: ; ModuleID = 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenHLSL\builtins\atan2_mat.hlsl' 
# |              2: source_filename = "C:\\_work\\llvm-project\\llvm-project\\clang\\test\\CodeGenHLSL\\builtins\\atan2_mat.hlsl" 
# |              3: target datalayout = "e-m:e-ve-p:32:32-i1:32-i8:8-i16:16-i32:32-i64:64-f16:16-f32:32-f64:64-n8:16:32:64" 
# |              4: target triple = "dxilv1.3-pc-shadermodel6.3-library" 
# |              5:  
# |              6: ; Function Attrs: alwaysinline convergent mustprogress norecurse nounwind 
# |              7: define hidden noundef nofpclass(nan inf) <1 x half> @_Z18test_atan2_half1x1u11matrix_typeILm1ELm1EDhES_(<1 x half> noundef nofpclass(nan inf) %p0, <1 x half> noundef nofpclass(nan inf) %p1) #0 { 
# | check:10'0                                                                                 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |              8: entry: 
# | check:10'0      ~~~~~~~
# |              9:  %p0.addr = alloca [1 x <1 x half>], align 2 
# | check:10'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             10:  %p1.addr = alloca [1 x <1 x half>], align 2 
# | check:10'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             11:  store <1 x half> %p0, ptr %p0.addr, align 2 
# | check:10'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             12:  store <1 x half> %p1, ptr %p1.addr, align 2 
# | check:10'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             13:  %0 = load <1 x half>, ptr %p0.addr, align 2 
# | check:10'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             14:  %conv = fpext reassoc nnan ninf nsz arcp afn <1 x half> %0 to <1 x double> 
# | check:10'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:10'1                ?                                                                  possible intended match
# |             15:  %1 = load <1 x half>, ptr %p1.addr, align 2 
# | check:10'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             16:  %conv1 = fpext reassoc nnan ninf nsz arcp afn <1 x half> %1 to <1 x double> 
# | check:10'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             17:  %call = call reassoc nnan ninf nsz arcp afn noundef nofpclass(nan inf) <1 x float> @_ZN4hlsl5atan2Eu11matrix_typeILm1ELm1EdES0_(<1 x double> noundef nofpclass(nan inf) %conv, <1 x double> noundef nofpclass(nan inf) %conv1) #2 
# | check:10'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             18:  %conv2 = fptrunc reassoc nnan ninf nsz arcp afn <1 x float> %call to <1 x half> 
# | check:10'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             19:  ret <1 x half> %conv2 
# | check:10'0      ~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            256:  
# |            257: ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) 
# |            258: declare <16 x half> @llvm.atan2.v16f16(<16 x half>, <16 x half>) #1 
# |            259:  
# |            260: ; Function Attrs: alwaysinline convergent mustprogress norecurse nounwind 
# |            261: define hidden noundef nofpclass(nan inf) <1 x float> @_Z19test_atan2_float1x1u11matrix_typeILm1ELm1EfES_(<1 x float> noundef nofpclass(nan inf) %p0, <1 x float> noundef nofpclass(nan inf) %p1) #0 { 
# | check:122'0                                                                                  X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |            262: entry: 
# | check:122'0     ~~~~~~~
# |            263:  %p0.addr = alloca [1 x <1 x float>], align 4 
# | check:122'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            264:  %p1.addr = alloca [1 x <1 x float>], align 4 
# | check:122'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            265:  store <1 x float> %p0, ptr %p0.addr, align 4 
# | check:122'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            266:  store <1 x float> %p1, ptr %p1.addr, align 4 
# | check:122'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            267:  %0 = load <1 x float>, ptr %p0.addr, align 4 
# | check:122'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            268:  %conv = fpext reassoc nnan ninf nsz arcp afn <1 x float> %0 to <1 x double> 
# | check:122'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:122'1               ?                                                                   possible intended match
# |            269:  %1 = load <1 x float>, ptr %p1.addr, align 4 
# | check:122'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            270:  %conv1 = fpext reassoc nnan ninf nsz arcp afn <1 x float> %1 to <1 x double> 
# | check:122'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            271:  %call = call reassoc nnan ninf nsz arcp afn noundef nofpclass(nan inf) <1 x float> @_ZN4hlsl5atan2Eu11matrix_typeILm1ELm1EdES0_(<1 x double> noundef nofpclass(nan inf) %conv, <1 x double> noundef nofpclass(nan inf) %conv1) #2 
# | check:122'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            272:  ret <1 x float> %call 
# | check:122'0     ~~~~~~~~~~~~~~~~~~~~~~~
# |            273: } 
# | check:122'0     ~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.SemaHLSL/BuiltIns/binary-compat-overload-warnings.hlsl</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc -finclude-default-header -triple dxilv1.0-unknown-shadermodel6.0-compute -std=hlsl202x -emit-llvm-only -disable-llvm-passes -DFUNC=atan2 C:\_work\llvm-project\llvm-project\clang\test\SemaHLSL\BuiltIns\binary-compat-overload-warnings.hlsl 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\SemaHLSL\BuiltIns\binary-compat-overload-warnings.hlsl -DFUNC=atan2 --check-prefixes=CHECK,ATAN2
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc -finclude-default-header -triple dxilv1.0-unknown-shadermodel6.0-compute -std=hlsl202x -emit-llvm-only -disable-llvm-passes -DFUNC=atan2 'C:\_work\llvm-project\llvm-project\clang\test\SemaHLSL\BuiltIns\binary-compat-overload-warnings.hlsl'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\SemaHLSL\BuiltIns\binary-compat-overload-warnings.hlsl' -DFUNC=atan2 --check-prefixes=CHECK,ATAN2
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\SemaHLSL\BuiltIns\binary-compat-overload-warnings.hlsl:27:12: error: ATAN2: expected string not found in input
# |  // ATAN2: warning: '[[FUNC]]<4U, 4U>' is deprecated: In 202x 64 bit API lowering for [[FUNC]] is deprecated. Explicitly cast parameters to 32 or 16 bit types.
# |            ^
# | <stdin>:46:243: note: scanning from here
# | C:\_work\llvm-project\llvm-project\clang\test\SemaHLSL\BuiltIns\binary-compat-overload-warnings.hlsl:23:10: warning: 'atan2' is deprecated: In 202x 64 bit API lowering for atan2 is deprecated. Explicitly cast parameters to 32 or 16 bit types. [-Wdeprecated-declarations]
# |                                                                                                                                                                                                                                                   ^
# | <stdin>:46:243: note: with "FUNC" equal to "atan2"
# | C:\_work\llvm-project\llvm-project\clang\test\SemaHLSL\BuiltIns\binary-compat-overload-warnings.hlsl:23:10: warning: 'atan2' is deprecated: In 202x 64 bit API lowering for atan2 is deprecated. Explicitly cast parameters to 32 or 16 bit types. [-Wdeprecated-declarations]
# |                                                                                                                                                                                                                                                   ^
# | <stdin>:46:243: note: with "FUNC" equal to "atan2"
# | C:\_work\llvm-project\llvm-project\clang\test\SemaHLSL\BuiltIns\binary-compat-overload-warnings.hlsl:23:10: warning: 'atan2' is deprecated: In 202x 64 bit API lowering for atan2 is deprecated. Explicitly cast parameters to 32 or 16 bit types. [-Wdeprecated-declarations]
# |                                                                                                                                                                                                                                                   ^
# | <stdin>:61:109: note: possible intended match here
# | C:\_work\llvm-project\llvm-project\clang\test\SemaHLSL\BuiltIns\binary-compat-overload-warnings.hlsl:28:10: warning: 'atan2' is deprecated: In 202x 64 bit API lowering for atan2 is deprecated. Explicitly cast parameters to 32 or 16 bit types. [-Wdeprecated-declarations]
# |                                                                                                             ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\SemaHLSL\BuiltIns\binary-compat-overload-warnings.hlsl
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            41:  50 | _DXC_DEPRECATED_64BIT_FN(fn) \ 
# |            42:  | ^ 
# |            43: C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\hlsl/hlsl_compat_overloads.h:20:5: note: expanded from macro '_DXC_DEPRECATED_64BIT_FN' 
# |            44:  20 | [[deprecated("In 202x 64 bit API lowering for " #fn " is deprecated. " \ 
# |            45:  | ^ 
# |            46: C:\_work\llvm-project\llvm-project\clang\test\SemaHLSL\BuiltIns\binary-compat-overload-warnings.hlsl:23:10: warning: 'atan2' is deprecated: In 202x 64 bit API lowering for atan2 is deprecated. Explicitly cast parameters to 32 or 16 bit types. [-Wdeprecated-declarations] 
# | check:27'0                                                                                                                                                                                                                                                       X~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | check:27'1                                                                                                                                                                                                                                                                                     with "FUNC" equal to "atan2"
# | check:27'2                                                                                                                                                                                                                                                                                     with "FUNC" equal to "atan2"
# |            47:  23 | return FUNC(p0, p0); 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            48:  | ^ 
# | check:27'0     ~~~~~
# |            49: <command line>:1:14: note: expanded from macro 'FUNC' 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            50:  1 | #define FUNC atan2 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |            51:  | ^ 
# | check:27'0     ~~~~~
# |             .
# |             .
# |             .
# |            56:  54 | _DXC_DEPRECATED_64BIT_FN(fn) \ 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            57:  | ^ 
# | check:27'0     ~~~~~
# |            58: C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\hlsl/hlsl_compat_overloads.h:20:5: note: expanded from macro '_DXC_DEPRECATED_64BIT_FN' 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            59:  20 | [[deprecated("In 202x 64 bit API lowering for " #fn " is deprecated. " \ 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            60:  | ^ 
# | check:27'0     ~~~~~
# |            61: C:\_work\llvm-project\llvm-project\clang\test\SemaHLSL\BuiltIns\binary-compat-overload-warnings.hlsl:28:10: warning: 'atan2' is deprecated: In 202x 64 bit API lowering for atan2 is deprecated. Explicitly cast parameters to 32 or 16 bit types. [-Wdeprecated-declarations] 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:27'3                                                                                                                 ?                                                                                                                                                                   possible intended match
# |            62:  28 | return FUNC(p0, p0); 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            63:  | ^ 
# | check:27'0     ~~~~~
# |            64: <command line>:1:14: note: expanded from macro 'FUNC' 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            65:  1 | #define FUNC atan2 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |            66:  | ^ 
# | check:27'0     ~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

https://github.com/llvm/llvm-project/pull/194984


More information about the cfe-commits mailing list