[clang] Clang: Drop float support from __builtin_elementwise_max (PR #180885)

via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 10 21:53:45 PST 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 86145 tests passed
* 1258 tests skipped
* 5 tests failed

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

### Clang
<details>
<summary>Clang.CodeGenHLSL/builtins/max-overloads.hlsl</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -std=hlsl202x -finclude-default-header -triple dxil-pc-shadermodel6.3-library /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/max-overloads.hlsl   -fnative-half-type -fnative-int16-type -emit-llvm  -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/max-overloads.hlsl --check-prefixes=CHECK,NATIVE_HALF
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -std=hlsl202x -finclude-default-header -triple dxil-pc-shadermodel6.3-library /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/max-overloads.hlsl -fnative-half-type -fnative-int16-type -emit-llvm -o -
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/max-overloads.hlsl:12:69: warning: 'max<short, 4U>' is deprecated: In 202x mismatched vector/scalar lowering for max is deprecated. Explicitly cast parameters. [-Wdeprecated-declarations]
# |    12 | int16_t4 test_max_short4_mismatch(int16_t4 p0, int16_t p1) { return max(p0, p1); }
# |       |                                                                     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:404:1: note: 'max<short, 4U>' has been explicitly marked deprecated here
# |   404 | _DXC_DEPRECATED_VEC_SCALAR_FN(max)
# |       | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:28:5: note: expanded from macro '_DXC_DEPRECATED_VEC_SCALAR_FN'
# |    28 |   [[deprecated("In 202x mismatched vector/scalar lowering for " #fn " is "     \
# |       |     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/max-overloads.hlsl:19:73: warning: 'max<unsigned short, 4U>' is deprecated: In 202x mismatched vector/scalar lowering for max is deprecated. Explicitly cast parameters. [-Wdeprecated-declarations]
# |    19 | uint16_t4 test_max_ushort4_mismatch(uint16_t4 p0, uint16_t p1) { return max(p0, p1); }
# |       |                                                                         ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:404:1: note: 'max<unsigned short, 4U>' has been explicitly marked deprecated here
# |   404 | _DXC_DEPRECATED_VEC_SCALAR_FN(max)
# |       | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:28:5: note: expanded from macro '_DXC_DEPRECATED_VEC_SCALAR_FN'
# |    28 |   [[deprecated("In 202x mismatched vector/scalar lowering for " #fn " is "     \
# |       |     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/max-overloads.hlsl:27:55: warning: 'max<int, 4U>' is deprecated: In 202x mismatched vector/scalar lowering for max is deprecated. Explicitly cast parameters. [-Wdeprecated-declarations]
# |    27 | int4 test_max_int4_mismatch(int4 p0, int p1) { return max(p0, p1); }
# |       |                                                       ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:404:1: note: 'max<int, 4U>' has been explicitly marked deprecated here
# |   404 | _DXC_DEPRECATED_VEC_SCALAR_FN(max)
# |       | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:28:5: note: expanded from macro '_DXC_DEPRECATED_VEC_SCALAR_FN'
# |    28 |   [[deprecated("In 202x mismatched vector/scalar lowering for " #fn " is "     \
# |       |     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/max-overloads.hlsl:34:59: warning: 'max<unsigned int, 4U>' is deprecated: In 202x mismatched vector/scalar lowering for max is deprecated. Explicitly cast parameters. [-Wdeprecated-declarations]
# |    34 | uint4 test_max_uint4_mismatch(uint4 p0, uint p1) { return max(p0, p1); }
# |       |                                                           ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:404:1: note: 'max<unsigned int, 4U>' has been explicitly marked deprecated here
# |   404 | _DXC_DEPRECATED_VEC_SCALAR_FN(max)
# |       | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:28:5: note: expanded from macro '_DXC_DEPRECATED_VEC_SCALAR_FN'
# |    28 |   [[deprecated("In 202x mismatched vector/scalar lowering for " #fn " is "     \
# |       |     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/max-overloads.hlsl:41:68: warning: 'max<long, 4U>' is deprecated: In 202x mismatched vector/scalar lowering for max is deprecated. Explicitly cast parameters. [-Wdeprecated-declarations]
# |    41 | int64_t4 test_max_long4_mismatch(int64_t4 p0, int64_t p1) { return max(p0, p1); }
# |       |                                                                    ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:404:1: note: 'max<long, 4U>' has been explicitly marked deprecated here
# |   404 | _DXC_DEPRECATED_VEC_SCALAR_FN(max)
# |       | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:28:5: note: expanded from macro '_DXC_DEPRECATED_VEC_SCALAR_FN'
# |    28 |   [[deprecated("In 202x mismatched vector/scalar lowering for " #fn " is "     \
# |       |     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/max-overloads.hlsl:48:72: warning: 'max<unsigned long, 4U>' is deprecated: In 202x mismatched vector/scalar lowering for max is deprecated. Explicitly cast parameters. [-Wdeprecated-declarations]
# |    48 | uint64_t4 test_max_ulong4_mismatch(uint64_t4 p0, uint64_t p1) { return max(p0, p1); }
# |       |                                                                        ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:404:1: note: 'max<unsigned long, 4U>' has been explicitly marked deprecated here
# |   404 | _DXC_DEPRECATED_VEC_SCALAR_FN(max)
# |       | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:28:5: note: expanded from macro '_DXC_DEPRECATED_VEC_SCALAR_FN'
# |    28 |   [[deprecated("In 202x mismatched vector/scalar lowering for " #fn " is "     \
# |       |     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/max-overloads.hlsl:60:59: warning: 'max<half, 4U>' is deprecated: In 202x mismatched vector/scalar lowering for max is deprecated. Explicitly cast parameters. [-Wdeprecated-declarations]
# |    60 | half4 test_max_half4_mismatch(half4 p0, half p1) { return max(p0, p1); }
# |       |                                                           ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:404:1: note: 'max<half, 4U>' has been explicitly marked deprecated here
# |   404 | _DXC_DEPRECATED_VEC_SCALAR_FN(max)
# |       | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:28:5: note: expanded from macro '_DXC_DEPRECATED_VEC_SCALAR_FN'
# |    28 |   [[deprecated("In 202x mismatched vector/scalar lowering for " #fn " is "     \
# |       |     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/max-overloads.hlsl:67:63: warning: 'max<float, 4U>' is deprecated: In 202x mismatched vector/scalar lowering for max is deprecated. Explicitly cast parameters. [-Wdeprecated-declarations]
# |    67 | float4 test_max_float4_mismatch(float4 p0, float p1) { return max(p0, p1); }
# |       |                                                               ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:404:1: note: 'max<float, 4U>' has been explicitly marked deprecated here
# |   404 | _DXC_DEPRECATED_VEC_SCALAR_FN(max)
# |       | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:28:5: note: expanded from macro '_DXC_DEPRECATED_VEC_SCALAR_FN'
# |    28 |   [[deprecated("In 202x mismatched vector/scalar lowering for " #fn " is "     \
# |       |     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/max-overloads.hlsl:74:67: warning: 'max<double, 4U>' is deprecated: In 202x mismatched vector/scalar lowering for max is deprecated. Explicitly cast parameters. [-Wdeprecated-declarations]
# |    74 | double4 test_max_double4_mismatch(double4 p0, double p1) { return max(p0, p1); }
# |       |                                                                   ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:404:1: note: 'max<double, 4U>' has been explicitly marked deprecated here
# |   404 | _DXC_DEPRECATED_VEC_SCALAR_FN(max)
# |       | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:28:5: note: expanded from macro '_DXC_DEPRECATED_VEC_SCALAR_FN'
# |    28 |   [[deprecated("In 202x mismatched vector/scalar lowering for " #fn " is "     \
# |       |     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/max-overloads.hlsl:81:68: warning: 'max<double, 4U>' is deprecated: In 202x mismatched vector/scalar lowering for max is deprecated. Explicitly cast parameters. [-Wdeprecated-declarations]
# |    81 | double4 test_max_double4_mismatch2(double4 p0, double p1) { return max(p1, p0); }
# |       |                                                                    ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:411:1: note: 'max<double, 4U>' has been explicitly marked deprecated here
# |   411 | _DXC_DEPRECATED_VEC_SCALAR_FN(max)
# |       | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:28:5: note: expanded from macro '_DXC_DEPRECATED_VEC_SCALAR_FN'
# |    28 |   [[deprecated("In 202x mismatched vector/scalar lowering for " #fn " is "     \
# |       |     ^
# | clang: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGBuiltin.cpp:4075: RValue clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(const GlobalDecl, unsigned int, const CallExpr *, ReturnValueSlot): Assertion `Op0->getType()->isIntOrIntVectorTy()' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
# | Stack dump:
# | 0.	Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -std=hlsl202x -finclude-default-header -triple dxil-pc-shadermodel6.3-library /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/max-overloads.hlsl -fnative-half-type -fnative-int16-type -emit-llvm -o -
# | 1.	<eof> parser at end of file
# | 2.	Per-file LLVM IR generation
# | 3.	/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:405:66: Generating code for declaration 'hlsl::max'
# |  #0 0x0000000008edae68 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:842:13
# |  #1 0x0000000008ed8595 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x0000000008edbc31 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38
# |  #3 0x000078ac49ca6330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x000078ac49cffb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x000078ac49ca627e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x000078ac49c898ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x000078ac49c8981b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x000078ac49c9c517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000009548b88 clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(clang::GlobalDecl, unsigned int, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGBuiltin.cpp:3676:5
# | #10 0x0000000009325eb5 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot, llvm::CallBase**) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGExpr.cpp:6345:5
# | #11 0x000000000934527a isScalar /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGValue.h:64:41
# | #12 0x000000000934527a getScalarVal /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGValue.h:73:5
# | #13 0x000000000934527a (anonymous namespace)::ScalarExprEmitter::VisitCallExpr(clang::CallExpr const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:642:36
# | #14 0x0000000009331fad Visit /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:453:52
# | #15 0x0000000009331fad clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:6022:8
# | #16 0x0000000009292355 clang::CodeGen::CodeGenFunction::EmitReturnStmt(clang::ReturnStmt const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGStmt.cpp:1658:26
# | #17 0x000000000928e80a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef<clang::Attr const*>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGStmt.cpp:459:5
# | #18 0x000000000929c861 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGStmt.cpp:587:10
# | #19 0x0000000009279c44 EmitFunctionBody /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp:0:5
# | #20 0x0000000009279c44 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp:1620:5
# | #21 0x0000000009141844 clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl, llvm::GlobalValue*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:6661:3
# | #22 0x0000000009138e6f ~TimeTraceScope /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/TimeProfiler.h:200:9
# | #23 0x0000000009138e6f clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:4717:3
# | #24 0x0000000009127a56 __normal_iterator /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_iterator.h:1077:20
# | #25 0x0000000009127a56 begin /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:884:16
# | #26 0x0000000009127a56 empty /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:1089:16
# | #27 0x0000000009127a56 clang::CodeGen::CodeGenModule::EmitDeferred() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:3759:26
# | #28 0x00000000091240ca clang::CodeGen::CodeGenModule::Release() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:977:3
# | #29 0x00000000096addcb (anonymous namespace)::CodeGeneratorImpl::HandleTranslationUnit(clang::ASTContext&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/ModuleBuilder.cpp:297:11
# | #30 0x00000000096a541e clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenAction.cpp:240:24
# | #31 0x000000000b1879f9 __normal_iterator /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_iterator.h:1077:20
# | #32 0x000000000b1879f9 begin /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:874:16
# | #33 0x000000000b1879f9 finalize<std::vector<std::unique_ptr<clang::TemplateInstantiationCallback, std::default_delete<clang::TemplateInstantiationCallback> >, std::allocator<std::unique_ptr<clang::TemplateInstantiationCallback, std::default_delete<clang::TemplateInstantiationCallback> > > > > /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/TemplateInstCallback.h:54:16
# | #34 0x000000000b1879f9 clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:190:3
# | #35 0x0000000009c16db3 clang::HLSLFrontendAction::ExecuteAction() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendActions.cpp:0:35
# | #36 0x0000000009bdeb96 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1326:10
# | #37 0x0000000009b442dd getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #38 0x0000000009b442dd operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #39 0x0000000009b442dd clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1007:23
# | #40 0x0000000009cd27fc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:310:25
# | #41 0x00000000060eb619 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:304:15
# | #42 0x00000000060e73e5 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:226:12
# | #43 0x00000000060e644d clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:274:12
# | #44 0x00000000060f7807 main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10
# | #45 0x000078ac49c8b1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #46 0x000078ac49c8b28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #47 0x00000000060e4e25 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x60e4e25)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/max-overloads.hlsl --check-prefixes=CHECK,NATIVE_HALF
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/max-overloads.hlsl --check-prefixes=CHECK,NATIVE_HALF
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>Clang.CodeGenHLSL/builtins/max.hlsl</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -finclude-default-header -triple dxil-pc-shadermodel6.3-library /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/max.hlsl   -fnative-half-type -fnative-int16-type -emit-llvm -disable-llvm-passes -o - |   /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/max.hlsl --check-prefixes=CHECK,NATIVE_HALF
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -finclude-default-header -triple dxil-pc-shadermodel6.3-library /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/max.hlsl -fnative-half-type -fnative-int16-type -emit-llvm -disable-llvm-passes -o -
# .---command stderr------------
# | clang: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGBuiltin.cpp:4075: RValue clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(const GlobalDecl, unsigned int, const CallExpr *, ReturnValueSlot): Assertion `Op0->getType()->isIntOrIntVectorTy()' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
# | Stack dump:
# | 0.	Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -finclude-default-header -triple dxil-pc-shadermodel6.3-library /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/max.hlsl -fnative-half-type -fnative-int16-type -emit-llvm -disable-llvm-passes -o -
# | 1.	/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/max.hlsl:97:1: current parser token 'half2'
# | 2.	/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/max.hlsl:92:6: LLVM IR generation of declaration 'test_max_half'
# | 3.	/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/max.hlsl:92:6: Generating code for declaration 'test_max_half'
# |  #0 0x0000000008edae68 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:842:13
# |  #1 0x0000000008ed8595 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x0000000008edbc31 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38
# |  #3 0x000078c007ae2330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x000078c007b3bb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x000078c007ae227e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x000078c007ac58ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x000078c007ac581b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x000078c007ad8517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000009548b88 clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(clang::GlobalDecl, unsigned int, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGBuiltin.cpp:3676:5
# | #10 0x0000000009325eb5 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot, llvm::CallBase**) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGExpr.cpp:6345:5
# | #11 0x000000000934527a isScalar /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGValue.h:64:41
# | #12 0x000000000934527a getScalarVal /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGValue.h:73:5
# | #13 0x000000000934527a (anonymous namespace)::ScalarExprEmitter::VisitCallExpr(clang::CallExpr const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:642:36
# | #14 0x0000000009331fad Visit /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:453:52
# | #15 0x0000000009331fad clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:6022:8
# | #16 0x0000000009292355 clang::CodeGen::CodeGenFunction::EmitReturnStmt(clang::ReturnStmt const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGStmt.cpp:1658:26
# | #17 0x000000000928e80a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef<clang::Attr const*>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGStmt.cpp:459:5
# | #18 0x000000000929c861 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGStmt.cpp:587:10
# | #19 0x0000000009279c44 EmitFunctionBody /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp:0:5
# | #20 0x0000000009279c44 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp:1620:5
# | #21 0x0000000009141844 clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl, llvm::GlobalValue*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:6661:3
# | #22 0x0000000009138e6f ~TimeTraceScope /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/TimeProfiler.h:200:9
# | #23 0x0000000009138e6f clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:4717:3
# | #24 0x000000000913dff2 clang::CodeGen::CodeGenModule::EmitGlobal(clang::GlobalDecl) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:4428:5
# | #25 0x0000000009137961 clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:7571:5
# | #26 0x00000000096adc4c (anonymous namespace)::CodeGeneratorImpl::HandleTopLevelDecl(clang::DeclGroupRef) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/ModuleBuilder.cpp:194:20
# | #27 0x00000000096a4f36 clang::BackendConsumer::HandleTopLevelDecl(clang::DeclGroupRef) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenAction.cpp:171:22
# | #28 0x000000000b187aca clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:174:17
# | #29 0x0000000009c16db3 clang::HLSLFrontendAction::ExecuteAction() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendActions.cpp:0:35
# | #30 0x0000000009bdeb96 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1326:10
# | #31 0x0000000009b442dd getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #32 0x0000000009b442dd operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #33 0x0000000009b442dd clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1007:23
# | #34 0x0000000009cd27fc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:310:25
# | #35 0x00000000060eb619 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:304:15
# | #36 0x00000000060e73e5 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:226:12
# | #37 0x00000000060e644d clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:274:12
# | #38 0x00000000060f7807 main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10
# | #39 0x000078c007ac71ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #40 0x000078c007ac728b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #41 0x00000000060e4e25 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x60e4e25)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/max.hlsl --check-prefixes=CHECK,NATIVE_HALF
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/max.hlsl --check-prefixes=CHECK,NATIVE_HALF
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>Clang.CodeGenHLSL/builtins/min-overloads.hlsl</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -std=hlsl202x -finclude-default-header -triple dxil-pc-shadermodel6.3-library /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/min-overloads.hlsl   -fnative-half-type -fnative-int16-type -emit-llvm -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/min-overloads.hlsl --check-prefixes=CHECK,NATIVE_HALF
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -std=hlsl202x -finclude-default-header -triple dxil-pc-shadermodel6.3-library /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/min-overloads.hlsl -fnative-half-type -fnative-int16-type -emit-llvm -o -
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/min-overloads.hlsl:12:69: warning: 'min<short, 4U>' is deprecated: In 202x mismatched vector/scalar lowering for min is deprecated. Explicitly cast parameters. [-Wdeprecated-declarations]
# |    12 | int16_t4 test_min_short4_mismatch(int16_t4 p0, int16_t p1) { return min(p0, p1); }
# |       |                                                                     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:422:1: note: 'min<short, 4U>' has been explicitly marked deprecated here
# |   422 | _DXC_DEPRECATED_VEC_SCALAR_FN(min)
# |       | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:28:5: note: expanded from macro '_DXC_DEPRECATED_VEC_SCALAR_FN'
# |    28 |   [[deprecated("In 202x mismatched vector/scalar lowering for " #fn " is "     \
# |       |     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/min-overloads.hlsl:19:73: warning: 'min<unsigned short, 4U>' is deprecated: In 202x mismatched vector/scalar lowering for min is deprecated. Explicitly cast parameters. [-Wdeprecated-declarations]
# |    19 | uint16_t4 test_min_ushort4_mismatch(uint16_t4 p0, uint16_t p1) { return min(p0, p1); }
# |       |                                                                         ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:422:1: note: 'min<unsigned short, 4U>' has been explicitly marked deprecated here
# |   422 | _DXC_DEPRECATED_VEC_SCALAR_FN(min)
# |       | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:28:5: note: expanded from macro '_DXC_DEPRECATED_VEC_SCALAR_FN'
# |    28 |   [[deprecated("In 202x mismatched vector/scalar lowering for " #fn " is "     \
# |       |     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/min-overloads.hlsl:27:55: warning: 'min<int, 4U>' is deprecated: In 202x mismatched vector/scalar lowering for min is deprecated. Explicitly cast parameters. [-Wdeprecated-declarations]
# |    27 | int4 test_min_int4_mismatch(int4 p0, int p1) { return min(p0, p1); }
# |       |                                                       ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:422:1: note: 'min<int, 4U>' has been explicitly marked deprecated here
# |   422 | _DXC_DEPRECATED_VEC_SCALAR_FN(min)
# |       | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:28:5: note: expanded from macro '_DXC_DEPRECATED_VEC_SCALAR_FN'
# |    28 |   [[deprecated("In 202x mismatched vector/scalar lowering for " #fn " is "     \
# |       |     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/min-overloads.hlsl:34:59: warning: 'min<unsigned int, 4U>' is deprecated: In 202x mismatched vector/scalar lowering for min is deprecated. Explicitly cast parameters. [-Wdeprecated-declarations]
# |    34 | uint4 test_min_uint4_mismatch(uint4 p0, uint p1) { return min(p0, p1); }
# |       |                                                           ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:422:1: note: 'min<unsigned int, 4U>' has been explicitly marked deprecated here
# |   422 | _DXC_DEPRECATED_VEC_SCALAR_FN(min)
# |       | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:28:5: note: expanded from macro '_DXC_DEPRECATED_VEC_SCALAR_FN'
# |    28 |   [[deprecated("In 202x mismatched vector/scalar lowering for " #fn " is "     \
# |       |     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/min-overloads.hlsl:41:68: warning: 'min<long, 4U>' is deprecated: In 202x mismatched vector/scalar lowering for min is deprecated. Explicitly cast parameters. [-Wdeprecated-declarations]
# |    41 | int64_t4 test_min_long4_mismatch(int64_t4 p0, int64_t p1) { return min(p0, p1); }
# |       |                                                                    ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:422:1: note: 'min<long, 4U>' has been explicitly marked deprecated here
# |   422 | _DXC_DEPRECATED_VEC_SCALAR_FN(min)
# |       | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:28:5: note: expanded from macro '_DXC_DEPRECATED_VEC_SCALAR_FN'
# |    28 |   [[deprecated("In 202x mismatched vector/scalar lowering for " #fn " is "     \
# |       |     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/min-overloads.hlsl:48:72: warning: 'min<unsigned long, 4U>' is deprecated: In 202x mismatched vector/scalar lowering for min is deprecated. Explicitly cast parameters. [-Wdeprecated-declarations]
# |    48 | uint64_t4 test_min_ulong4_mismatch(uint64_t4 p0, uint64_t p1) { return min(p0, p1); }
# |       |                                                                        ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:422:1: note: 'min<unsigned long, 4U>' has been explicitly marked deprecated here
# |   422 | _DXC_DEPRECATED_VEC_SCALAR_FN(min)
# |       | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:28:5: note: expanded from macro '_DXC_DEPRECATED_VEC_SCALAR_FN'
# |    28 |   [[deprecated("In 202x mismatched vector/scalar lowering for " #fn " is "     \
# |       |     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/min-overloads.hlsl:60:59: warning: 'min<half, 4U>' is deprecated: In 202x mismatched vector/scalar lowering for min is deprecated. Explicitly cast parameters. [-Wdeprecated-declarations]
# |    60 | half4 test_min_half4_mismatch(half4 p0, half p1) { return min(p0, p1); }
# |       |                                                           ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:422:1: note: 'min<half, 4U>' has been explicitly marked deprecated here
# |   422 | _DXC_DEPRECATED_VEC_SCALAR_FN(min)
# |       | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:28:5: note: expanded from macro '_DXC_DEPRECATED_VEC_SCALAR_FN'
# |    28 |   [[deprecated("In 202x mismatched vector/scalar lowering for " #fn " is "     \
# |       |     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/min-overloads.hlsl:67:63: warning: 'min<float, 4U>' is deprecated: In 202x mismatched vector/scalar lowering for min is deprecated. Explicitly cast parameters. [-Wdeprecated-declarations]
# |    67 | float4 test_min_float4_mismatch(float4 p0, float p1) { return min(p0, p1); }
# |       |                                                               ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:422:1: note: 'min<float, 4U>' has been explicitly marked deprecated here
# |   422 | _DXC_DEPRECATED_VEC_SCALAR_FN(min)
# |       | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:28:5: note: expanded from macro '_DXC_DEPRECATED_VEC_SCALAR_FN'
# |    28 |   [[deprecated("In 202x mismatched vector/scalar lowering for " #fn " is "     \
# |       |     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/min-overloads.hlsl:74:67: warning: 'min<double, 4U>' is deprecated: In 202x mismatched vector/scalar lowering for min is deprecated. Explicitly cast parameters. [-Wdeprecated-declarations]
# |    74 | double4 test_min_double4_mismatch(double4 p0, double p1) { return min(p0, p1); }
# |       |                                                                   ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:422:1: note: 'min<double, 4U>' has been explicitly marked deprecated here
# |   422 | _DXC_DEPRECATED_VEC_SCALAR_FN(min)
# |       | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:28:5: note: expanded from macro '_DXC_DEPRECATED_VEC_SCALAR_FN'
# |    28 |   [[deprecated("In 202x mismatched vector/scalar lowering for " #fn " is "     \
# |       |     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/min-overloads.hlsl:81:68: warning: 'min<double, 4U>' is deprecated: In 202x mismatched vector/scalar lowering for min is deprecated. Explicitly cast parameters. [-Wdeprecated-declarations]
# |    81 | double4 test_min_double4_mismatch2(double4 p0, double p1) { return min(p1, p0); }
# |       |                                                                    ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:429:1: note: 'min<double, 4U>' has been explicitly marked deprecated here
# |   429 | _DXC_DEPRECATED_VEC_SCALAR_FN(min)
# |       | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:28:5: note: expanded from macro '_DXC_DEPRECATED_VEC_SCALAR_FN'
# |    28 |   [[deprecated("In 202x mismatched vector/scalar lowering for " #fn " is "     \
# |       |     ^
# | clang: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGBuiltin.cpp:4088: RValue clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(const GlobalDecl, unsigned int, const CallExpr *, ReturnValueSlot): Assertion `Op0->getType()->isIntOrIntVectorTy()' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
# | Stack dump:
# | 0.	Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -std=hlsl202x -finclude-default-header -triple dxil-pc-shadermodel6.3-library /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/min-overloads.hlsl -fnative-half-type -fnative-int16-type -emit-llvm -o -
# | 1.	<eof> parser at end of file
# | 2.	Per-file LLVM IR generation
# | 3.	/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/hlsl/hlsl_compat_overloads.h:423:66: Generating code for declaration 'hlsl::min'
# |  #0 0x0000000008edae68 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:842:13
# |  #1 0x0000000008ed8595 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x0000000008edbc31 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38
# |  #3 0x0000780fe7a09330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x0000780fe7a62b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x0000780fe7a0927e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x0000780fe79ec8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x0000780fe79ec81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x0000780fe79ff517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000009548b69 clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(clang::GlobalDecl, unsigned int, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGBuiltin.cpp:4075:5
# | #10 0x0000000009325eb5 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot, llvm::CallBase**) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGExpr.cpp:6345:5
# | #11 0x000000000934527a isScalar /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGValue.h:64:41
# | #12 0x000000000934527a getScalarVal /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGValue.h:73:5
# | #13 0x000000000934527a (anonymous namespace)::ScalarExprEmitter::VisitCallExpr(clang::CallExpr const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:642:36
# | #14 0x0000000009331fad Visit /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:453:52
# | #15 0x0000000009331fad clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:6022:8
# | #16 0x0000000009292355 clang::CodeGen::CodeGenFunction::EmitReturnStmt(clang::ReturnStmt const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGStmt.cpp:1658:26
# | #17 0x000000000928e80a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef<clang::Attr const*>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGStmt.cpp:459:5
# | #18 0x000000000929c861 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGStmt.cpp:587:10
# | #19 0x0000000009279c44 EmitFunctionBody /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp:0:5
# | #20 0x0000000009279c44 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp:1620:5
# | #21 0x0000000009141844 clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl, llvm::GlobalValue*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:6661:3
# | #22 0x0000000009138e6f ~TimeTraceScope /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/TimeProfiler.h:200:9
# | #23 0x0000000009138e6f clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:4717:3
# | #24 0x0000000009127a56 __normal_iterator /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_iterator.h:1077:20
# | #25 0x0000000009127a56 begin /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:884:16
# | #26 0x0000000009127a56 empty /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:1089:16
# | #27 0x0000000009127a56 clang::CodeGen::CodeGenModule::EmitDeferred() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:3759:26
# | #28 0x00000000091240ca clang::CodeGen::CodeGenModule::Release() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:977:3
# | #29 0x00000000096addcb (anonymous namespace)::CodeGeneratorImpl::HandleTranslationUnit(clang::ASTContext&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/ModuleBuilder.cpp:297:11
# | #30 0x00000000096a541e clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenAction.cpp:240:24
# | #31 0x000000000b1879f9 __normal_iterator /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_iterator.h:1077:20
# | #32 0x000000000b1879f9 begin /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:874:16
# | #33 0x000000000b1879f9 finalize<std::vector<std::unique_ptr<clang::TemplateInstantiationCallback, std::default_delete<clang::TemplateInstantiationCallback> >, std::allocator<std::unique_ptr<clang::TemplateInstantiationCallback, std::default_delete<clang::TemplateInstantiationCallback> > > > > /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/TemplateInstCallback.h:54:16
# | #34 0x000000000b1879f9 clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:190:3
# | #35 0x0000000009c16db3 clang::HLSLFrontendAction::ExecuteAction() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendActions.cpp:0:35
# | #36 0x0000000009bdeb96 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1326:10
# | #37 0x0000000009b442dd getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #38 0x0000000009b442dd operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #39 0x0000000009b442dd clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1007:23
# | #40 0x0000000009cd27fc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:310:25
# | #41 0x00000000060eb619 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:304:15
# | #42 0x00000000060e73e5 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:226:12
# | #43 0x00000000060e644d clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:274:12
# | #44 0x00000000060f7807 main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10
# | #45 0x0000780fe79ee1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #46 0x0000780fe79ee28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #47 0x00000000060e4e25 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x60e4e25)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/min-overloads.hlsl --check-prefixes=CHECK,NATIVE_HALF
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/min-overloads.hlsl --check-prefixes=CHECK,NATIVE_HALF
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>Clang.CodeGenHLSL/builtins/min.hlsl</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -finclude-default-header -triple dxil-pc-shadermodel6.3-library /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/min.hlsl   -fnative-half-type -fnative-int16-type -emit-llvm -disable-llvm-passes -o - |   /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/min.hlsl --check-prefixes=CHECK,NATIVE_HALF
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -finclude-default-header -triple dxil-pc-shadermodel6.3-library /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/min.hlsl -fnative-half-type -fnative-int16-type -emit-llvm -disable-llvm-passes -o -
# .---command stderr------------
# | clang: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGBuiltin.cpp:4088: RValue clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(const GlobalDecl, unsigned int, const CallExpr *, ReturnValueSlot): Assertion `Op0->getType()->isIntOrIntVectorTy()' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
# | Stack dump:
# | 0.	Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -finclude-default-header -triple dxil-pc-shadermodel6.3-library /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/min.hlsl -fnative-half-type -fnative-int16-type -emit-llvm -disable-llvm-passes -o -
# | 1.	/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/min.hlsl:97:1: current parser token 'half2'
# | 2.	/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/min.hlsl:92:6: LLVM IR generation of declaration 'test_min_half'
# | 3.	/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/min.hlsl:92:6: Generating code for declaration 'test_min_half'
# |  #0 0x0000000008edae68 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:842:13
# |  #1 0x0000000008ed8595 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x0000000008edbc31 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38
# |  #3 0x000079753c5e9330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x000079753c642b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x000079753c5e927e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x000079753c5cc8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x000079753c5cc81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x000079753c5df517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000009548b69 clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(clang::GlobalDecl, unsigned int, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGBuiltin.cpp:4075:5
# | #10 0x0000000009325eb5 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot, llvm::CallBase**) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGExpr.cpp:6345:5
# | #11 0x000000000934527a isScalar /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGValue.h:64:41
# | #12 0x000000000934527a getScalarVal /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGValue.h:73:5
# | #13 0x000000000934527a (anonymous namespace)::ScalarExprEmitter::VisitCallExpr(clang::CallExpr const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:642:36
# | #14 0x0000000009331fad Visit /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:453:52
# | #15 0x0000000009331fad clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:6022:8
# | #16 0x0000000009292355 clang::CodeGen::CodeGenFunction::EmitReturnStmt(clang::ReturnStmt const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGStmt.cpp:1658:26
# | #17 0x000000000928e80a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef<clang::Attr const*>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGStmt.cpp:459:5
# | #18 0x000000000929c861 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGStmt.cpp:587:10
# | #19 0x0000000009279c44 EmitFunctionBody /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp:0:5
# | #20 0x0000000009279c44 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp:1620:5
# | #21 0x0000000009141844 clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl, llvm::GlobalValue*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:6661:3
# | #22 0x0000000009138e6f ~TimeTraceScope /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/TimeProfiler.h:200:9
# | #23 0x0000000009138e6f clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:4717:3
# | #24 0x000000000913dff2 clang::CodeGen::CodeGenModule::EmitGlobal(clang::GlobalDecl) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:4428:5
# | #25 0x0000000009137961 clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:7571:5
# | #26 0x00000000096adc4c (anonymous namespace)::CodeGeneratorImpl::HandleTopLevelDecl(clang::DeclGroupRef) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/ModuleBuilder.cpp:194:20
# | #27 0x00000000096a4f36 clang::BackendConsumer::HandleTopLevelDecl(clang::DeclGroupRef) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenAction.cpp:171:22
# | #28 0x000000000b187aca clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:174:17
# | #29 0x0000000009c16db3 clang::HLSLFrontendAction::ExecuteAction() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendActions.cpp:0:35
# | #30 0x0000000009bdeb96 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1326:10
# | #31 0x0000000009b442dd getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #32 0x0000000009b442dd operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #33 0x0000000009b442dd clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1007:23
# | #34 0x0000000009cd27fc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:310:25
# | #35 0x00000000060eb619 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:304:15
# | #36 0x00000000060e73e5 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:226:12
# | #37 0x00000000060e644d clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:274:12
# | #38 0x00000000060f7807 main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10
# | #39 0x000079753c5ce1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #40 0x000079753c5ce28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #41 0x00000000060e4e25 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x60e4e25)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/min.hlsl --check-prefixes=CHECK,NATIVE_HALF
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/min.hlsl --check-prefixes=CHECK,NATIVE_HALF
# `-----------------------------
# error: command failed with exit status: 2

--

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

```
Exit Code: -6

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_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 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/BuiltIns/vec-scalar-compat-overload-warnings.hlsl 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/BuiltIns/vec-scalar-compat-overload-warnings.hlsl
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_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 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/BuiltIns/vec-scalar-compat-overload-warnings.hlsl
# note: command had no output on stdout or stderr
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/BuiltIns/vec-scalar-compat-overload-warnings.hlsl
# note: command had no output on stdout or stderr

--

```
</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/180885


More information about the cfe-commits mailing list