[libclc] [libclc][NFC] Remove __CLC_BIT_INTN macro (PR #188023)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 23 19:26:00 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
The build failed before running any tests. Click on a failure below to see the details.
<details>
<summary>libclc/CMakeFiles/clc_builtins_amdgcn_amd_amdhsa_llvm.dir/clc/lib/generic/math/clc_lgamma_r.cl.o</summary>
```
FAILED: libclc/CMakeFiles/clc_builtins_amdgcn_amd_amdhsa_llvm.dir/clc/lib/generic/math/clc_lgamma_r.cl.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -x cl -DCLC_AMDGCN -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__CLC_GENERIC_ADDRSPACE_VAL=0 -D__CLC_PRIVATE_ADDRSPACE_VAL=5 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/async -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/atomic -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/collective -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/common -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/conversion -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/geometric -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/integer -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/math -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/misc -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/relational -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/shared -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/subgroup -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/workitem -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/amdgpu/address_space -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/amdgpu/math -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/amdgpu/mem_fence -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/amdgpu/subgroup -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/amdgpu/synchronization -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/amdgpu/workitem -flto --target=amdgcn-amd-amdhsa-llvm -nostdlib -nostdlibinc -cl-no-stdinc -cl-std=CL3.0 -include opencl-c-base.h -Werror=undef -Wall -Wextra -fdiscard-value-names -ffp-contract=fast-honor-pragmas -fdenormal-fp-math=dynamic -Xclang -mcode-object-version=none -MD -MT libclc/CMakeFiles/clc_builtins_amdgcn_amd_amdhsa_llvm.dir/clc/lib/generic/math/clc_lgamma_r.cl.o -MF libclc/CMakeFiles/clc_builtins_amdgcn_amd_amdhsa_llvm.dir/clc/lib/generic/math/clc_lgamma_r.cl.o.d -c -o libclc/CMakeFiles/clc_builtins_amdgcn_amd_amdhsa_llvm.dir/clc/lib/generic/math/clc_lgamma_r.cl.o /home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/math/clc_lgamma_r.cl
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 -x cl -DCLC_AMDGCN -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__CLC_GENERIC_ADDRSPACE_VAL=0 -D__CLC_PRIVATE_ADDRSPACE_VAL=5 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/async -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/atomic -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/collective -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/common -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/conversion -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/geometric -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/integer -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/math -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/misc -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/relational -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/shared -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/subgroup -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/workitem -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/amdgpu/address_space -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/amdgpu/math -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/amdgpu/mem_fence -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/amdgpu/subgroup -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/amdgpu/synchronization -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/amdgpu/workitem -flto --target=amdgcn-amd-amdhsa-llvm -nostdlib -nostdlibinc -cl-no-stdinc -cl-std=CL3.0 -include opencl-c-base.h -Werror=undef -Wall -Wextra -fdiscard-value-names -ffp-contract=fast-honor-pragmas -fdenormal-fp-math=dynamic -Xclang -mcode-object-version=none -MD -MT libclc/CMakeFiles/clc_builtins_amdgcn_amd_amdhsa_llvm.dir/clc/lib/generic/math/clc_lgamma_r.cl.o -MF libclc/CMakeFiles/clc_builtins_amdgcn_amd_amdhsa_llvm.dir/clc/lib/generic/math/clc_lgamma_r.cl.o.d -c -o libclc/CMakeFiles/clc_builtins_amdgcn_amd_amdhsa_llvm.dir/clc/lib/generic/math/clc_lgamma_r.cl.o /home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/math/clc_lgamma_r.cl
1. <eof> parser at end of file
2. Optimizer
3. Running pass "require<globals-aa>,function(invalidate<aa>),require<profile-summary>,cgscc(devirt<4>(inline,function-attrs<skip-non-recursive-function-attrs>,openmp-opt-cgscc,function(amdgpu-promote-kernel-arguments,infer-address-spaces,amdgpu-lower-kernel-attributes,amdgpu-promote-alloca-to-vector),function<eager-inv;no-rerun>(sroa<modify-cfg>,early-cse<memssa>,speculative-execution<only-if-divergent-target>,jump-threading,correlated-propagation,simplifycfg<bonus-inst-threshold=1;no-forward-switch-cond;switch-range-to-icmp;no-switch-to-arithmetic;no-switch-to-lookup;keep-loops;no-hoist-common-insts;no-hoist-loads-stores-with-cond-faulting;no-sink-common-insts;speculate-blocks;simplify-cond-branch;no-speculate-unpredictables>,instcombine<max-iterations=1;no-verify-fixpoint>,aggressive-instcombine,libcalls-shrinkwrap,amdgpu-usenative,amdgpu-simplifylib,amdgpu-uniform-intrinsic-combine,tailcallelim,simplifycfg<bonus-inst-threshold=1;no-forward-switch-cond;switch-range-to-icmp;no-switch-to-arithmetic;no-switch-to-lookup;keep-loops;no-hoist-common-insts;no-hoist-loads-stores-with-cond-faulting;no-sink-common-insts;speculate-blocks;simplify-cond-branch;no-speculate-unpredictables>,reassociate,constraint-elimination,loop-mssa(loop-instsimplify,loop-simplifycfg,licm<no-allowspeculation>,loop-rotate<header-duplication;prepare-for-lto;no-check-exit-count>,licm<allowspeculation>,simple-loop-unswitch<no-nontrivial;trivial>),simplifycfg<bonus-inst-threshold=1;no-forward-switch-cond;switch-range-to-icmp;no-switch-to-arithmetic;no-switch-to-lookup;keep-loops;no-hoist-common-insts;no-hoist-loads-stores-with-cond-faulting;no-sink-common-insts;speculate-blocks;simplify-cond-branch;no-speculate-unpredictables>,instcombine<max-iterations=1;no-verify-fixpoint>,loop(loop-idiom,indvars,extra-simple-loop-unswitch-passes,loop-deletion,loop-unroll-full),sroa<modify-cfg>,vector-combine,mldst-motion<no-split-footer-bb>,gvn<>,sccp,bdce,instcombine<max-iterations=1;no-verify-fixpoint>,amdgpu-usenative,amdgpu-simplifylib,amdgpu-uniform-intrinsic-combine,jump-threading,correlated-propagation,adce,memcpyopt,dse,move-auto-init,loop-mssa(licm<allowspeculation>),coro-elide,infer-address-spaces,simplifycfg<bonus-inst-threshold=1;no-forward-switch-cond;switch-range-to-icmp;switch-to-arithmetic;no-switch-to-lookup;keep-loops;hoist-common-insts;no-hoist-loads-stores-with-cond-faulting;sink-common-insts;speculate-blocks;simplify-cond-branch;no-speculate-unpredictables>,instcombine<max-iterations=1;no-verify-fixpoint>,amdgpu-usenative,amdgpu-simplifylib,amdgpu-uniform-intrinsic-combine),function-attrs,function(require<should-not-run-function-passes>),coro-split,coro-annotation-elide)),function(invalidate<should-not-run-function-passes>),cgscc(devirt<4>())" on module "/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/math/clc_lgamma_r.cl"
4. Running pass "cgscc(devirt<4>(inline,function-attrs<skip-non-recursive-function-attrs>,openmp-opt-cgscc,function(amdgpu-promote-kernel-arguments,infer-address-spaces,amdgpu-lower-kernel-attributes,amdgpu-promote-alloca-to-vector),function<eager-inv;no-rerun>(sroa<modify-cfg>,early-cse<memssa>,speculative-execution<only-if-divergent-target>,jump-threading,correlated-propagation,simplifycfg<bonus-inst-threshold=1;no-forward-switch-cond;switch-range-to-icmp;no-switch-to-arithmetic;no-switch-to-lookup;keep-loops;no-hoist-common-insts;no-hoist-loads-stores-with-cond-faulting;no-sink-common-insts;speculate-blocks;simplify-cond-branch;no-speculate-unpredictables>,instcombine<max-iterations=1;no-verify-fixpoint>,aggressive-instcombine,libcalls-shrinkwrap,amdgpu-usenative,amdgpu-simplifylib,amdgpu-uniform-intrinsic-combine,tailcallelim,simplifycfg<bonus-inst-threshold=1;no-forward-switch-cond;switch-range-to-icmp;no-switch-to-arithmetic;no-switch-to-lookup;keep-loops;no-hoist-common-insts;no-hoist-loads-stores-with-cond-faulting;no-sink-common-insts;speculate-blocks;simplify-cond-branch;no-speculate-unpredictables>,reassociate,constraint-elimination,loop-mssa(loop-instsimplify,loop-simplifycfg,licm<no-allowspeculation>,loop-rotate<header-duplication;prepare-for-lto;no-check-exit-count>,licm<allowspeculation>,simple-loop-unswitch<no-nontrivial;trivial>),simplifycfg<bonus-inst-threshold=1;no-forward-switch-cond;switch-range-to-icmp;no-switch-to-arithmetic;no-switch-to-lookup;keep-loops;no-hoist-common-insts;no-hoist-loads-stores-with-cond-faulting;no-sink-common-insts;speculate-blocks;simplify-cond-branch;no-speculate-unpredictables>,instcombine<max-iterations=1;no-verify-fixpoint>,loop(loop-idiom,indvars,extra-simple-loop-unswitch-passes,loop-deletion,loop-unroll-full),sroa<modify-cfg>,vector-combine,mldst-motion<no-split-footer-bb>,gvn<>,sccp,bdce,instcombine<max-iterations=1;no-verify-fixpoint>,amdgpu-usenative,amdgpu-simplifylib,amdgpu-uniform-intrinsic-combine,jump-threading,correlated-propagation,adce,memcpyopt,dse,move-auto-init,loop-mssa(licm<allowspeculation>),coro-elide,infer-address-spaces,simplifycfg<bonus-inst-threshold=1;no-forward-switch-cond;switch-range-to-icmp;switch-to-arithmetic;no-switch-to-lookup;keep-loops;hoist-common-insts;no-hoist-loads-stores-with-cond-faulting;sink-common-insts;speculate-blocks;simplify-cond-branch;no-speculate-unpredictables>,instcombine<max-iterations=1;no-verify-fixpoint>,amdgpu-usenative,amdgpu-simplifylib,amdgpu-uniform-intrinsic-combine),function-attrs,function(require<should-not-run-function-passes>),coro-split,coro-annotation-elide))" on module "/home/gha/actions-runner/_work/llvm-project/llvm-project/libclc/clc/lib/generic/math/clc_lgamma_r.cl"
5. Running pass "instcombine<max-iterations=1;no-verify-fixpoint>" on function "_Z14__clc_lgamma_rDv2_fPU3AS1Dv2_i"
#0 0x00000000091899a8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
#1 0x0000000009186911 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
#2 0x000000000918859c llvm::sys::CleanupOnSignal(unsigned long) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:0:3
#3 0x00000000090e7116 HandleCrash /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:73:5
#4 0x00000000090e7116 CrashRecoverySignalHandler(int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:393:51
#5 0x00007ac4fc489330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
#6 0x0000000008de5123 getTypeID /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/Type.h:138:37
#7 0x0000000008de5123 isX86_AMXTy /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/Type.h:202:37
#8 0x0000000008de5123 combineStoreToValueType /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp:1284:23
#9 0x0000000008de5123 llvm::InstCombinerImpl::visitStoreInst(llvm::StoreInst&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp:1439:7
#10 0x0000000008d2ccfa llvm::InstCombinerImpl::run() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:5892:22
#11 0x0000000008d30500 combineInstructionsOverFunction(llvm::Function&, llvm::InstructionWorklist&, llvm::AAResults*, llvm::AssumptionCache&, llvm::TargetLibraryInfo&, llvm::TargetTransformInfo&, llvm::DominatorTree&, llvm::OptimizationRemarkEmitter&, llvm::BlockFrequencyInfo*, llvm::BranchProbabilityInfo*, llvm::ProfileSummaryInfo*, llvm::InstCombineOptions const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:6205:31
#12 0x0000000008d2f856 llvm::InstCombinePass::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:6267:8
#13 0x0000000008b43277 llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/PassManagerImpl.h:80:8
#14 0x00000000080a804a llvm::CGSCCToFunctionPassAdaptor::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CGSCCPassManager.cpp:0:38
#15 0x00000000080a3653 llvm::PassManager<llvm::LazyCallGraph::SCC, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CGSCCPassManager.cpp:97:12
#16 0x00000000080a658e llvm::DevirtSCCRepeatedPass::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CGSCCPassManager.cpp:0:38
#17 0x00000000080a4d0e llvm::ModuleToPostOrderCGSCCPassAdaptor::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CGSCCPassManager.cpp:284:18
#18 0x0000000008b42347 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/PassManagerImpl.h:80:8
#19 0x000000000a57d5f8 ~SmallPtrSetImplBase /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallPtrSet.h:89:9
#20 0x000000000a57d5f8 ~PreservedAnalyses /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/Analysis.h:112:7
#21 0x000000000a57d5f8 llvm::ModuleInlinerWrapperPass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/IPO/Inliner.cpp:619:3
#22 0x0000000008b42347 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/PassManagerImpl.h:80:8
#23 0x0000000009ab6e64 ~SmallPtrSetImplBase /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallPtrSet.h:89:9
#24 0x0000000009ab6e64 ~PreservedAnalyses /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/Analysis.h:112:7
#25 0x0000000009ab6e64 (anonymous namespace)::EmitAssemblyHelper::RunOptimizationPipeline(clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>&, std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile>>&, clang::BackendConsumer*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1209:5
#26 0x0000000009aac388 emitAssembly /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1291:23
#27 0x0000000009aac388 clang::emitBackendOutput(clang::CompilerInstance&, clang::CodeGenOptions&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>, clang::BackendConsumer*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1475:13
#28 0x0000000009ac2fb4 ~unique_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:403:6
#29 0x0000000009ac2fb4 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenAction.cpp:312:3
#30 0x000000000b4cd739 __normal_iterator /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_iterator.h:1077:20
#31 0x000000000b4cd739 begin /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:874:16
#32 0x000000000b4cd739 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
#33 0x000000000b4cd739 clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:190:3
#34 0x000000000a02bee6 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1330:10
#35 0x0000000009f8f11d getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
#36 0x0000000009f8f11d operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
#37 0x0000000009f8f11d clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:989:23
#38 0x000000000a123858 get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1666:16
#39 0x000000000a123858 _M_get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1363:66
#40 0x000000000a123858 operator-> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1357:9
#41 0x000000000a123858 getFrontendOpts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Frontend/CompilerInstance.h:310:12
#42 0x000000000a123858 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:319:14
#43 0x0000000006320c95 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:302:15
#44 0x000000000631ca75 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:229:12
#45 0x000000000631f02d operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:0:12
#46 0x000000000631f02d int llvm::function_ref<int (llvm::SmallVectorImpl<char const*>&)>::callback_fn<clang_main(int, char**, llvm::ToolContext const&)::$_0>(long, llvm::SmallVectorImpl<char const*>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:46:12
#47 0x0000000009dd52e9 operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Job.cpp:442:30
#48 0x0000000009dd52e9 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const::$_0>(long) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:46:12
#49 0x00000000090e6e2e operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:0:12
#50 0x00000000090e6e2e llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:437:3
#51 0x0000000009dd49ac clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Job.cpp:442:7
#52 0x0000000009d91ccc clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Compilation.cpp:196:15
#53 0x0000000009d91ee7 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Compilation.cpp:246:13
#54 0x0000000009daf068 empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:83:46
#55 0x0000000009daf068 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Driver.cpp:2333:23
#56 0x000000000631c269 clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:419:21
#57 0x000000000632cfcd main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10
#58 0x00007ac4fc46e1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
#59 0x00007ac4fc46e28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
#60 0x000000000631a3e5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang+0x631a3e5)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 23.0.0git (https://github.com/llvm/llvm-project f4130df3a698e940e1be545d951297c10b3d23ad)
Target: amdgcn-amd-amdhsa-llvm
Thread model: posix
InstalledDir: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin
Build config: +assertions
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /home/gha/actions-runner/_work/llvm-project/llvm-project/artifacts/reproducers/clc_lgamma_r-9662a2.cl
clang: note: diagnostic msg: /home/gha/actions-runner/_work/llvm-project/llvm-project/artifacts/reproducers/clc_lgamma_r-9662a2.sh
clang: note: diagnostic msg:
********************
Segmentation fault
```
</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/188023
More information about the cfe-commits
mailing list