Closed avikivity closed 1 week ago
gdb backtrace:
(gdb) bt
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1 0x00007fffec8a8513 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:78
#2 0x00007fffec84fc4e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3 0x00007fffec837902 in __GI_abort () at abort.c:79
#4 0x00007fffec838767 in __libc_message_impl (fmt=fmt@entry=0x7fffec9c216e "*** %s ***: terminated\n") at ../sysdeps/posix/libc_fatal.c:132
#5 0x00007fffec936769 in __GI___fortify_fail (msg=msg@entry=0x7fffec9c2186 "stack smashing detected") at fortify_fail.c:24
#6 0x00007fffec9379e4 in __stack_chk_fail () at stack_chk_fail.c:24
#7 0x00007fffee3746a1 in ub3_sub4_sub5_in_AV_160_with_sub1_sub2_sub3_sub4_in_AV_128_with_sub1_sub2_sub3_in_AV_96_Align2_and_AV_96_with_sub1_sub2_in_AV_64_with_sub1_in_VGPR_32_Lo128BitsE (
std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> >, std::allocator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > > > >, __gnu_cxx::__normal_iterator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > *, std::vector<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> >, std::allocator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > > > > >=<optimized out>) at /usr/src/debug/llvm-18.1.6-2.fc40.x86_64/lib/Transforms/Instrumentation/PGOInstrumentation.cpp:1605
#8 0x00007fffee366f53 in _9VETTIImplEE34shouldBuildLookupTablesForConstantEPNS_8ConstantE (lse, llvm::cl::parser<llvm::RegAllocPriorityAdvisorAnalysis::AdvisorMode> >=...,
tCallSiteEntryDIEsERKNS_12DISubprogramERNS_16DwarfCompileUnitERNS_3DIEERKNS_15MachineFunctionEENK3$_0clERKNS_12MachineInstrE=..., BAL__N_116GPRMM16MovePBitsE=...,
gned int, llvm::DenseMapInfo<unsigned int, void> > >, std::tuple<llvm::Instruction *, std::vector<unsigned long, std::allocator<unsigned long> >, const llvm::Function *, llvm::DenseSet<unsigned int, llvm::DenseMapInfo<unsigned int, void> > > >=..., AL__N_129Int32Regs_and_SpecialRegsBitsE=...,
nt32Regs_and_SpecialRegsBitsE=..., nd_SpecialRegsBitsE=..., rIKS3_N12_GLOBAL__N_17UseInfoINS0_11GlobalValueEEEESt10_Select1stISA_ESt4lessIS3_ESaISA_EE8key_compEv=<optimized out>,
BaseESt14default_deleteIS6_EENS_12DenseMapInfoIS3_vEENS_6detail12DenseMapPairIS3_S9_EEEES3_S9_SB_SE_E10getBucketsEv=<optimized out>) at /usr/src/debug/llvm-18.1.6-2.fc40.x86_64/lib/Transforms/Instrumentation/PGOInstrumentation.cpp:2061
#9 0x00007fffee36545b in sE (
std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> >, std::allocator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > > > >, __gnu_cxx::__normal_iterator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > *, std::vector<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> >, std::allocator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > > > > >=0x198a06c8, lse, llvm::cl::parser<llvm::RegAllocPriorityAdvisorAnalysis::AdvisorMode> >=..., list_sentinel_trackingILb1EEEEEENS_12ilist_traitsIS2_EEE6insertENS_14ilist_iteratorINS_12ilist_detail12node_optionsIS2_Lb1ELb1EvLb0EEELb0ELb0EEEPS2_=...)
at /usr/src/debug/llvm-18.1.6-2.fc40.x86_64/lib/Transforms/Instrumentation/PGOInstrumentation.cpp:2174
#10 0x00007ffff0bf4bf1 in ISA_ESt4lessIS3_ESaISA_EE11_M_leftmostEv (
std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> >, std::allocator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > > > >, __gnu_cxx::__normal_iterator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > *, std::vector<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> >, std::allocator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > > > > >=<optimized out>, dTypesEv=..., deleterEv=...) at /usr/src/debug/llvm-18.1.6-2.fc40.x86_64/include/llvm/IR/PassManagerInternal.h:89
#11 0x00007fffed5c8e5d in arget/ARM/ARMLoadStoreOptimizer.cpp:1987:19)> > (
std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> >, std::allocator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > > > >, __gnu_cxx::__normal_iterator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > *, std::vector<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> >, std::allocator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > > > > >=<optimized out>, dTypesEv=..., deleterEv=...) at /usr/src/debug/llvm-18.1.6-2.fc40.x86_64/include/llvm/IR/PassManager.h:543
#12 0x00007ffff5865092 in g12_GLOBAL__N_123NamedDeclFindingVisitorEE32VisitOpenCLLocalAddressSpaceAttrEPNS_27OpenCLLocalAddressSpaceAttrE (Tree<llvm::ImutKeyValueInfo<(anonymous namespace)::ConstructedObjectKey, clang::ento::SVal> > *> >=0x7fffffffa140,
gumentLocENS_15TypedefNameDeclEEEET_EE5valueEvE4typeELPv0EEEPNS_14TypeSourceInfoERKSF_=4_SA_EEEES4_SA_SC_SF_E15LookupBucketForIS4_EEbRKT_RPSF_::apturedRecordAttrEPNS_18CapturedRecordAttrE, cl *, clang::Decl *const>=..., =...,
r<clang::arcmt::trans::ASTTraverser *>, clang::arcmt::trans::ASTTraverser *>=0x4a4bf0) at /usr/src/debug/clang-18.1.6-3.fc40.x86_64/lib/CodeGen/BackendUtil.cpp:1101
#13 0x00007ffff585c17e in S_27OpenCLLocalAddressSpaceAttrE (Tree<llvm::ImutKeyValueInfo<(anonymous namespace)::ConstructedObjectKey, clang::ento::SVal> > *> >=<optimized out>, cl *, clang::Decl *const>=..., r<clang::arcmt::trans::ASTTraverser *>, clang::arcmt::trans::ASTTraverser *>=0x4a4bf0,
gumentLocENS_15TypedefNameDeclEEEET_EE5valueEvE4typeELPv0EEEPNS_14TypeSourceInfoERKSF_=<optimized out>) at /usr/src/debug/clang-18.1.6-3.fc40.x86_64/lib/CodeGen/BackendUtil.cpp:1166
#14 rmIN12_GLOBAL__N_121AdjustConstraintDepthEE31TransformStmtCoroReturnTypeAttrEPKNS_4StmtES6_PKNS_18CoroReturnTypeAttrE (cl *, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<const clang::NamedDecl *, void>, llvm::detail::DenseSetPair<const clang::NamedDecl *>, false>, bool, true>=...,
EE33TraverseWebAssemblyImportNameAttrEPNS_25WebAssemblyImportNameAttrE=..., eInvocationsRNS_4SemaERNS1_33ExpressionEvaluationContextRecordEE12SimpleRemoveE22VisitPreferredTypeAttrEPNS_17PreferredTypeAttrE=<optimized out>,
e_implILm2EJN5clang12ast_matchers8internal7MatcherINS0_4StmtEEEEE7_M_headERS6_=..., d::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > *, std::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >=..., trE=...,
st clang::ento::MemRegion *, unsigned int> > *> >=0x492020, gumentLocENS_15TypedefNameDeclEEEET_EE5valueEvE4typeELPv0EEEPNS_14TypeSourceInfoERKSF_=<optimized out>, 16_x=..., cl *, clang::Decl *const>=...,
r<clang::arcmt::trans::ASTTraverser *>, clang::arcmt::trans::ASTTraverser *>=<optimized out>) at /usr/src/debug/clang-18.1.6-3.fc40.x86_64/lib/CodeGen/BackendUtil.cpp:1328
#15 0x00007ffff5c5a2a0 in nto10ExprEngine27VisitObjCAtSynchronizedStmtEPKNS_22ObjCAtSynchronizedStmtEPNS0_12ExplodedNodeERNS0_15ExplodedNodeSetE (Tree<llvm::ImutKeyValueInfo<(anonymous namespace)::ConstructedObjectKey, clang::ento::SVal> > *> >=0x4a4bf0,
mallString<128U> >, _Fwd_list_node<SmallString<128U> > >=...) at /usr/src/debug/clang-18.1.6-3.fc40.x86_64/lib/CodeGen/CodeGenAction.cpp:379
#16 0x00007ffff4574436 in 0Matcher<clang::OpaqueValueExpr, clang::ast_matchers::internal::Matcher<clang::Expr> >, const std::tuple<clang::ast_matchers::internal::Matcher<clang::Expr> > &> (::internal::VariadicOperatorMatcher<clang::ast_matchers::internal::BindableMatcher<clang::Type> > >=warning: RTTI symbol not found for class 'clang::Sema'
...,
sve_svabalt_s32=false, fic_attr_iteratorINS_20AMDGPUKernelCallAttrEN4llvm11SmallVectorIPNS_4AttrELj4EEEEppEi=<optimized out>) at /usr/src/debug/clang-18.1.6-3.fc40.x86_64/lib/Parse/ParseAST.cpp:176
#17 0x00007ffff681c9f6 in mtE (Tree<llvm::ImutKeyValueInfo<(anonymous namespace)::ConstructedObjectKey, clang::ento::SVal> > *> >=0x4a8220) at /usr/src/debug/clang-18.1.6-3.fc40.x86_64/lib/Frontend/FrontendAction.cpp:1069
#18 0x00007ffff6794700 in tualExclusionERNS_4SemaEPKNS_4StmtE (Tree<llvm::ImutKeyValueInfo<(anonymous namespace)::ConstructedObjectKey, clang::ento::SVal> > *> >=0x4a23b0, sitorBaseIN4llvm14make_const_ptrEN12_GLOBAL__N_114CallExprFinderEvJEE5VisitEPKNS_4StmtE=warning: RTTI symbol not found for class 'clang::EmitBCAction'
...)
at /usr/src/debug/clang-18.1.6-3.fc40.x86_64/lib/Frontend/CompilerInstance.cpp:1057
#19 0x00007ffff6899f65 in IPN5clang12ast_matchers8internal7MatcherINS0_16CXXConstCastExprEEEEmIEl (
NS_15mapped_iteratorINS_12ImmutableMapIN12_GLOBAL__N_110BindingKeyEN5clang4ento4SValENS_16ImutKeyValueInfoIS4_S7_EEE8iteratorEZNS_17make_second_rangeIRKSA_EEDaOT_EUlRKSt4pairIS4_S7_EE_RKS7_EESt26bidirectional_iterator_tagSM_lPSM_SN_EleERKSO_=0x4a23b0)
at /usr/src/debug/clang-18.1.6-3.fc40.x86_64/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272
#20 0x00000000004144c6 in 2DenseMapPairIS2_iEEEES2_iS4_S7_E16FindAndConstructERKS2_ (eRefCountedBaseINS_3vfs10FileSystemEEaSERKS3_=..., odelEEaSERKS3_=0x7fffffffd356 "/usr/bin/clang++", ngops=0x40d970 <GetExecutablePath[abi:cxx11](char const*, bool)>)
at /usr/src/debug/clang-18.1.6-3.fc40.x86_64/tools/driver/cc1_main.cpp:294
#21 0x0000000000411164 in ExecuteCC1Tool (ArgV=..., ToolContext=...) at /usr/src/debug/clang-18.1.6-3.fc40.x86_64/tools/driver/driver.cpp:365
#22 0x000000000040fea8 in clang_main (Argc=<optimized out>, Argv=<optimized out>, ToolContext=...) at /usr/src/debug/clang-18.1.6-3.fc40.x86_64/tools/driver/driver.cpp:405
#23 0x000000000041dcca in ConstructERKS2_(l_base_implIN4llvm23PrettyStackTraceProgramESt14_Optional_baseIS1_Lb0ELb0EEE13_M_is_engagedEv, t_self<Triple>, __not_<__and_<is_scalar<Triple>, is_same<Triple, decay_t<Triple> > > >, is_constructible<Triple, Triple>, is_assignable<Triple &, Triple> >, optional<Triple> &> **) (nseSetEmpty=790750, _ZN4llvm15SmallVectorImplIPvE6assignEmS1_=0xc10de) at tools/driver/clang-driver.cpp:17
The crash is at the end of the function during stack check, so presumably the bug happened earlier. Maybe asan can help.
Does not reproduce with llvmorg-18.1.8 (3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff) build from source
Although, maybe clang itself wasn't build with stack smashing protection.
Did not reproduce with llvmorg-18.1.6, so likely need extra fortification.
Plain llvmorg-18.1.6 with -fstack-protector-all did not reproduce.
llvmorg-18.1.6 with -fstack-protector-all and built with clang reproduces
llvmorg-18.1.8 with -fstack-protector-all and built with clang reproduces
main (7f3c40a6613346a4ea856c1462de4fca12dc4fef) works
# fixed: [7f3c40a6613346a4ea856c1462de4fca12dc4fef] [libc] implement pathconf/fpathconf (#87165)
# broken: [1118c2e05e67a36ed8ca250524525cdb66a55256] [libcxx][libcxxabi] Fix build for OpenBSD (#92186)
git bisect start 'main' 'llvmorg-18.1.6'
# broken: [93248729cfae82a5ca2323d4a8e15aa3b9b9c707] [RISCV][MC] Split tests for A into Zaamo and Zalrsc parts
git bisect broken 93248729cfae82a5ca2323d4a8e15aa3b9b9c707
# fixed: [466017c8dab74f66ce513c8752f0c1dcd16a8a63] Work around test failure due to new aslr default
git bisect fixed 466017c8dab74f66ce513c8752f0c1dcd16a8a63
# broken: [90e9e962e18fc4304c6aba81de2bb53069bcd358] [mlir][NFC] Apply rule of five to *Pass classes (#80998)
git bisect broken 90e9e962e18fc4304c6aba81de2bb53069bcd358
# fixed: [51268a57fd4d7f67fe9fdb337f63ec390fa2379a] [BOLT] Enable --keep-nops option for Linux kernel by default (#86349)
git bisect fixed 51268a57fd4d7f67fe9fdb337f63ec390fa2379a
# fixed: [db058b954a32dfb164926e407dfcf49bec054216] [asan][windows] fix issue64990 test (#85137)
git bisect fixed db058b954a32dfb164926e407dfcf49bec054216
# broken: [e0d49066c1acfa4ae0f0e8ea49b0f0b6bb3f1a25] [IR] Add new Range attribute using new ConstantRange Attribute type (#83171)
git bisect broken e0d49066c1acfa4ae0f0e8ea49b0f0b6bb3f1a25
# fixed: [672fc89347b831f2845e7825affc30c865758270] [NFC] [hwasan] factor out selective instrumentation logic (#84408)
git bisect fixed 672fc89347b831f2845e7825affc30c865758270
# fixed: [d8d2dea7fc6f452ac6a24948fe3ff99920f81c99] [RISCV] Handle FP riscv_masked_strided_load with 0 stride. (#84576)
git bisect fixed d8d2dea7fc6f452ac6a24948fe3ff99920f81c99
# broken: [ba13fa2a5d57581bff1a7e9322234af30f4882f6] [llvm][Support] Add and use errnoAsErrorCode (#84423)
git bisect broken ba13fa2a5d57581bff1a7e9322234af30f4882f6
# broken: [0be1c3b92b64373df4057f52f9676c36567253ef] [workflows] Mention the correct user who makes a /cherry-pick comment (#82680)
git bisect broken 0be1c3b92b64373df4057f52f9676c36567253ef
# broken: [e3444ad0bd758ea1c8f67425063f8b53afe3d7de] [InstCombine] Add tests for expanding foldICmpWithLowBitMaskedVal
; NFC
git bisect broken e3444ad0bd758ea1c8f67425063f8b53afe3d7de
# broken: [cef862e03c5dd0bfda43a57ca609d5239da3567a] [InstCombine] Tests for (icmp eq/ne (and (shl -1, X), Y), 0)
-> (icmp eq/ne (lshr Y, X), 0)
; NFC
git bisect broken cef862e03c5dd0bfda43a57ca609d5239da3567a
# fixed: [6bec4fc76de50a090d1d0b36498da66c4a324851] [libc] Fix flag parsing bugs. (#84706)
git bisect fixed 6bec4fc76de50a090d1d0b36498da66c4a324851
# broken: [edd4c6c6dca4c556de22b2ab73d5bfc02d28e59b] [LoongArch] Make sure that the LoongArchISD::BSTRINS node uses the correct MSB
value (#84454)
git bisect broken edd4c6c6dca4c556de22b2ab73d5bfc02d28e59b
# fixed: [f78688134026686288a8d310b493d9327753a022] [coroutine] Implement llvm.coro.await.suspend intrinsic (#79712)
git bisect fixed f78688134026686288a8d310b493d9327753a022
# first fixed commit: [f78688134026686288a8d310b493d9327753a022] [coroutine] Implement llvm.coro.await.suspend intrinsic (#79712)
@fpasserby looks like your commit f78688134026686288a8d310b493d9327753a022 fixed cs-pgo; can it be backported to 18.1?
Looks like it's not intended as a fix but rather feature; so it fixed cs-pgo incidentally.
broken: [7f3c40a6613346a4ea856c1462de4fca12dc4fef] [libc] implement pathconf/fpathconf (#87165)
fixed: [1118c2e05e67a36ed8ca250524525cdb66a55256] [libcxx][libcxxabi] Fix build for OpenBSD (#92186)
git bisect start 'main' 'llvmorg-18.1.6'
fixed: [93248729cfae82a5ca2323d4a8e15aa3b9b9c707] [RISCV][MC] Split tests for A into Zaamo and Zalrsc parts
git bisect fixed 93248729cfae82a5ca2323d4a8e15aa3b9b9c707
broken: [466017c8dab74f66ce513c8752f0c1dcd16a8a63] Work around test failure due to new aslr default
git bisect broken 466017c8dab74f66ce513c8752f0c1dcd16a8a63
fixed: [90e9e962e18fc4304c6aba81de2bb53069bcd358] [mlir][NFC] Apply rule of five to *Pass classes (#80998)
git bisect fixed 90e9e962e18fc4304c6aba81de2bb53069bcd358
broken: [51268a57fd4d7f67fe9fdb337f63ec390fa2379a] [BOLT] Enable --keep-nops option for Linux kernel by default (#86349)
git bisect broken 51268a57fd4d7f67fe9fdb337f63ec390fa2379a
broken: [db058b954a32dfb164926e407dfcf49bec054216] [asan][windows] fix issue64990 test (#85137)
git bisect broken db058b954a32dfb164926e407dfcf49bec054216
fixed: [e0d49066c1acfa4ae0f0e8ea49b0f0b6bb3f1a25] [IR] Add new Range attribute using new ConstantRange Attribute type (#83171)
git bisect fixed e0d49066c1acfa4ae0f0e8ea49b0f0b6bb3f1a25
broken: [672fc89347b831f2845e7825affc30c865758270] [NFC] [hwasan] factor out selective instrumentation logic (#84408)
git bisect broken 672fc89347b831f2845e7825affc30c865758270
broken: [d8d2dea7fc6f452ac6a24948fe3ff99920f81c99] [RISCV] Handle FP riscv_masked_strided_load with 0 stride. (#84576)
git bisect broken d8d2dea7fc6f452ac6a24948fe3ff99920f81c99
fixed: [ba13fa2a5d57581bff1a7e9322234af30f4882f6] [llvm][Support] Add and use errnoAsErrorCode (#84423)
git bisect fixed ba13fa2a5d57581bff1a7e9322234af30f4882f6
fixed: [0be1c3b92b64373df4057f52f9676c36567253ef] [workflows] Mention the correct user who makes a /cherry-pick comment (#82680)
git bisect fixed 0be1c3b92b64373df4057f52f9676c36567253ef
fixed: [e3444ad0bd758ea1c8f67425063f8b53afe3d7de] [InstCombine] Add tests for expanding
foldICmpWithLowBitMaskedVal
; NFCgit bisect fixed e3444ad0bd758ea1c8f67425063f8b53afe3d7de
fixed: [cef862e03c5dd0bfda43a57ca609d5239da3567a] [InstCombine] Tests for
(icmp eq/ne (and (shl -1, X), Y), 0)
->(icmp eq/ne (lshr Y, X), 0)
; NFCgit bisect fixed cef862e03c5dd0bfda43a57ca609d5239da3567a
broken: [6bec4fc76de50a090d1d0b36498da66c4a324851] [libc] Fix flag parsing bugs. (#84706)
git bisect broken 6bec4fc76de50a090d1d0b36498da66c4a324851
fixed: [edd4c6c6dca4c556de22b2ab73d5bfc02d28e59b] [LoongArch] Make sure that the LoongArchISD::BSTRINS node uses the correct
MSB
value (#84454)git bisect fixed edd4c6c6dca4c556de22b2ab73d5bfc02d28e59b
broken: [f78688134026686288a8d310b493d9327753a022] [coroutine] Implement llvm.coro.await.suspend intrinsic (#79712)
git bisect broken f78688134026686288a8d310b493d9327753a022
first broken commit: [f78688134026686288a8d310b493d9327753a022] [coroutine] Implement llvm.coro.await.suspend intrinsic (#79712)
Error: Command failed due to missing milestone.
# broken: [7f3c40a6613346a4ea856c1462de4fca12dc4fef] [libc] implement pathconf/fpathconf (#87165) # fixed: [1118c2e05e67a36ed8ca250524525cdb66a55256] [libcxx][libcxxabi] Fix build for OpenBSD (#92186) git bisect start 'main' 'llvmorg-18.1.6' # fixed: [93248729cfae82a5ca2323d4a8e15aa3b9b9c707] [RISCV][MC] Split tests for A into Zaamo and Zalrsc parts git bisect fixed 93248729cfae82a5ca2323d4a8e15aa3b9b9c707 # broken: [466017c8dab74f66ce513c8752f0c1dcd16a8a63] Work around test failure due to new aslr default git bisect broken 466017c8dab74f66ce513c8752f0c1dcd16a8a63 # fixed: [90e9e962e18fc4304c6aba81de2bb53069bcd358] [mlir][NFC] Apply rule of five to *Pass classes (#80998) git bisect fixed 90e9e962e18fc4304c6aba81de2bb53069bcd358 # broken: [51268a57fd4d7f67fe9fdb337f63ec390fa2379a] [BOLT] Enable --keep-nops option for Linux kernel by default (#86349) git bisect broken 51268a57fd4d7f67fe9fdb337f63ec390fa2379a # broken: [db058b954a32dfb164926e407dfcf49bec054216] [asan][windows] fix issue64990 test (#85137) git bisect broken db058b954a32dfb164926e407dfcf49bec054216 # fixed: [e0d49066c1acfa4ae0f0e8ea49b0f0b6bb3f1a25] [IR] Add new Range attribute using new ConstantRange Attribute type (#83171) git bisect fixed e0d49066c1acfa4ae0f0e8ea49b0f0b6bb3f1a25 # broken: [672fc89347b831f2845e7825affc30c865758270] [NFC] [hwasan] factor out selective instrumentation logic (#84408) git bisect broken 672fc89347b831f2845e7825affc30c865758270 # broken: [d8d2dea7fc6f452ac6a24948fe3ff99920f81c99] [RISCV] Handle FP riscv_masked_strided_load with 0 stride. (#84576) git bisect broken d8d2dea7fc6f452ac6a24948fe3ff99920f81c99 # fixed: [ba13fa2a5d57581bff1a7e9322234af30f4882f6] [llvm][Support] Add and use errnoAsErrorCode (#84423) git bisect fixed ba13fa2a5d57581bff1a7e9322234af30f4882f6 # fixed: [0be1c3b92b64373df4057f52f9676c36567253ef] [workflows] Mention the correct user who makes a /cherry-pick comment (#82680) git bisect fixed 0be1c3b92b64373df4057f52f9676c36567253ef # fixed: [e3444ad0bd758ea1c8f67425063f8b53afe3d7de] [InstCombine] Add tests for expanding
foldICmpWithLowBitMaskedVal
; NFC git bisect fixed e3444ad0bd758ea1c8f67425063f8b53afe3d7de # fixed: [cef862e03c5dd0bfda43a57ca609d5239da3567a] [InstCombine] Tests for(icmp eq/ne (and (shl -1, X), Y), 0)
->(icmp eq/ne (lshr Y, X), 0)
; NFC git bisect fixed cef862e03c5dd0bfda43a57ca609d5239da3567a # broken: [6bec4fc76de50a090d1d0b36498da66c4a324851] [libc] Fix flag parsing bugs. (#84706) git bisect broken 6bec4fc76de50a090d1d0b36498da66c4a324851 # fixed: [edd4c6c6dca4c556de22b2ab73d5bfc02d28e59b] [LoongArch] Make sure that the LoongArchISD::BSTRINS node uses the correctMSB
value (#84454) git bisect fixed edd4c6c6dca4c556de22b2ab73d5bfc02d28e59b # broken: [f78688134026686288a8d310b493d9327753a022] [coroutine] Implement llvm.coro.await.suspend intrinsic (#79712) git bisect broken f78688134026686288a8d310b493d9327753a022 # first broken commit: [f78688134026686288a8d310b493d9327753a022] [coroutine] Implement llvm.coro.await.suspend intrinsic (#79712)
Error: Command failed due to missing milestone.
# fixed: [7f3c40a6613346a4ea856c1462de4fca12dc4fef] [libc] implement pathconf/fpathconf (#87165) # broken: [1118c2e05e67a36ed8ca250524525cdb66a55256] [libcxx][libcxxabi] Fix build for OpenBSD (#92186) git bisect start 'main' 'llvmorg-18.1.6' # broken: [93248729cfae82a5ca2323d4a8e15aa3b9b9c707] [RISCV][MC] Split tests for A into Zaamo and Zalrsc parts git bisect broken 93248729cfae82a5ca2323d4a8e15aa3b9b9c707 # fixed: [466017c8dab74f66ce513c8752f0c1dcd16a8a63] Work around test failure due to new aslr default git bisect fixed 466017c8dab74f66ce513c8752f0c1dcd16a8a63 # broken: [90e9e962e18fc4304c6aba81de2bb53069bcd358] [mlir][NFC] Apply rule of five to *Pass classes (#80998) git bisect broken 90e9e962e18fc4304c6aba81de2bb53069bcd358 # fixed: [51268a57fd4d7f67fe9fdb337f63ec390fa2379a] [BOLT] Enable --keep-nops option for Linux kernel by default (#86349) git bisect fixed 51268a57fd4d7f67fe9fdb337f63ec390fa2379a # fixed: [db058b954a32dfb164926e407dfcf49bec054216] [asan][windows] fix issue64990 test (#85137) git bisect fixed db058b954a32dfb164926e407dfcf49bec054216 # broken: [e0d49066c1acfa4ae0f0e8ea49b0f0b6bb3f1a25] [IR] Add new Range attribute using new ConstantRange Attribute type (#83171) git bisect broken e0d49066c1acfa4ae0f0e8ea49b0f0b6bb3f1a25 # fixed: [672fc89347b831f2845e7825affc30c865758270] [NFC] [hwasan] factor out selective instrumentation logic (#84408) git bisect fixed 672fc89347b831f2845e7825affc30c865758270 # fixed: [d8d2dea7fc6f452ac6a24948fe3ff99920f81c99] [RISCV] Handle FP riscv_masked_strided_load with 0 stride. (#84576) git bisect fixed d8d2dea7fc6f452ac6a24948fe3ff99920f81c99 # broken: [ba13fa2a5d57581bff1a7e9322234af30f4882f6] [llvm][Support] Add and use errnoAsErrorCode (#84423) git bisect broken ba13fa2a5d57581bff1a7e9322234af30f4882f6 # broken: [0be1c3b92b64373df4057f52f9676c36567253ef] [workflows] Mention the correct user who makes a /cherry-pick comment (#82680) git bisect broken 0be1c3b92b64373df4057f52f9676c36567253ef # broken: [e3444ad0bd758ea1c8f67425063f8b53afe3d7de] [InstCombine] Add tests for expanding
foldICmpWithLowBitMaskedVal
; NFC git bisect broken e3444ad0bd758ea1c8f67425063f8b53afe3d7de # broken: [cef862e03c5dd0bfda43a57ca609d5239da3567a] [InstCombine] Tests for(icmp eq/ne (and (shl -1, X), Y), 0)
->(icmp eq/ne (lshr Y, X), 0)
; NFC git bisect broken cef862e03c5dd0bfda43a57ca609d5239da3567a # fixed: [6bec4fc76de50a090d1d0b36498da66c4a324851] [libc] Fix flag parsing bugs. (#84706) git bisect fixed 6bec4fc76de50a090d1d0b36498da66c4a324851 # broken: [edd4c6c6dca4c556de22b2ab73d5bfc02d28e59b] [LoongArch] Make sure that the LoongArchISD::BSTRINS node uses the correctMSB
value (#84454) git bisect broken edd4c6c6dca4c556de22b2ab73d5bfc02d28e59b # fixed: [f78688134026686288a8d310b493d9327753a022] [coroutine] Implement llvm.coro.await.suspend intrinsic (#79712) git bisect fixed f78688134026686288a8d310b493d9327753a022 # first fixed commit: [f78688134026686288a8d310b493d9327753a022] [coroutine] Implement llvm.coro.await.suspend intrinsic (#79712)
Error: Command failed due to missing milestone.
Cannot reproduce with 17.0.6:
error: Error in reading profile /home/avi/scylla-maint/build/release-pgo/profiles/merged.profdata: unsupported instrumentation profile format version
Without loading merged.profdata, clang 18.1.6 doesn't crash, so it may not be possible to bisect to find the patch that introduced the bug.
Bisected to
ffd337b995658266d83e15630d656e57882bcf0d is the first bad commit commit ffd337b995658266d83e15630d656e57882bcf0d Author: Mircea Trofin mtrofin@google.com Date: Wed Nov 15 11:12:59 2023 -0800
[coro][pgo] Do not insert counters in the `suspend` block (#71262)
If we did, we couldn't lower symmetric transfer resumes to tail calls.
We can instrument the other 2 edges instead, as long as they also don't
point to the same basic block.
@mtrofin any ideas how to fix this for 18.1.6?
@mtrofin can you help here? clang 18.1 is broken with coroutines + pgo.
@llvm/issue-subscribers-coroutines
Author: Avi Kivity (avikivity)