[clang] [clang] Implement CWG2851: floating-point conversions in converted constant expressions (PR #90387)

2024-06-21 Thread Mital Ashok via cfe-commits
static constexpr T value = v; }; @@ -148,8 +147,7 @@ static_assert(__is_same(Val, Val(__builtin_nansl("0x"))>)); // since-cxx20-error@-1 {{non-type template argument evaluates to nan which cannot be exactly represented in type 'float'}} #endif - -} +} // namespace cwg2851 namespace cwg2857 { // cwg2857: no struct A {}; ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[Lldb-commits] [lldb] 9e6ea38 - Reland "[lldb][ObjC] Don't query objective-c runtime for decls in C++ contexts"

2024-06-21 Thread Michael Buch via lldb-commits
: -o "expression NSString" \ +// RUN: 2>&1 | FileCheck %s + +// CHECK: (lldb) expression --language objective-c -- NSString * a; a +// CHECK-NEXT: (NSString *){{.*}}= nil + +// CHECK: (lldb) expression --language objective-c++ -- NSString * b; b +// CHECK-NEXT: (NSString *){{

[clang] [clang] Implement CWG2851: floating-point conversions in converted constant expressions (PR #90387)

2024-06-21 Thread Mital Ashok via cfe-commits
{ // cwg2858: 19 tentatively ready 2024-04-05 #if __cplusplus > 202302L diff --git a/clang/www/cxx_dr_status.html b/clang/www/cxx_dr_status.html index 875521bd505d5..331962ba0b9c3 100755 --- a/clang/www/cxx_dr_status.html +++ b/clang/www/cxx_dr_status.html @@ -16915,7 +16915,7 @@ C++ defect report

[clang] [NFC] Fix dead links in TargetCXXABI.def (PR #96348)

2024-06-21 Thread Mital Ashok via cfe-commits
case are: /// - representation of member function pointers adjusted as in ARM. /// - guard variables are smaller. +/// +/// It is documented here: +///https://github.com/ARM-software/abi-aa/blob/main/cppabi64/cppabi64.rst ITANIUM_CXXABI(GenericAArch64, "aarch64") /// The gen

[jenkinsci/subversion-plugin]

2024-06-21 Thread 'github-actions[bot]' via Jenkins Commits
to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/subvers

[jenkinsci/subversion-plugin]

2024-06-21 Thread 'Basil Crow' via Jenkins Commits
/notifications -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web vi

[jenkinsci/subversion-plugin] ff0602: Bump io.jenkins.tools.incrementals:git-changelist-...

2024-06-21 Thread 'dependabot[bot]' via Jenkins Commits
dabot[bot]@users.noreply.github.com> To unsubscribe from these emails, change your notification settings at https://github.com/jenkinsci/subversion-plugin/settings/notifications -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" grou

[jenkinsci/subversion-plugin] 00a632: Bump org.jenkins-ci.plugins:plugin from 4.80 to 4....

2024-06-21 Thread 'dependabot[bot]' via Jenkins Commits
ithub.com> To unsubscribe from these emails, change your notification settings at https://github.com/jenkinsci/subversion-plugin/settings/notifications -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this gr

[clang] [Clang][AMDGPU] Add builtins for instrinsic `llvm.amdgcn.raw.buffer.store` (PR #94576)

2024-06-21 Thread Matt Arsenault via cfe-commits
quot;vWiQbiiIi", "n") +BUILTIN(__builtin_amdgcn_raw_buffer_store_b96, "vV3iQbiiIi", "n") arsenm wrote: It's no more of a pain than any other bitcast https://github.com/llvm/llvm-project/pull/94576 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [PAC][clang][Driver] Add signed GOT flag (PR #96160)

2024-06-21 Thread Fangrui Song via cfe-commits
MaskRay wrote: Do we want a lot of `-fptrauth-xxx` instead of `-fptrauth-something=xxx,yyy,zzz`? https://github.com/llvm/llvm-project/pull/96160 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo

[clang] [ParserHLSL] Attempt to parse HLSL annotations on Field Decls. (PR #96346)

2024-06-21 Thread Xiang Li via cfe-commits
___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [ParserHLSL] Attempt to parse HLSL annotations on Field Decls. (PR #96346)

2024-06-21 Thread Joshua Batista via cfe-commits
https://github.com/bob80905 edited https://github.com/llvm/llvm-project/pull/96346 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [ParserHLSL] Attempt to parse HLSL annotations on Field Decls. (PR #96346)

2024-06-21 Thread Joshua Batista via cfe-commits
on a field decl, and this change should test for annotations that belong on FieldDecls. https://github.com/llvm/llvm-project/pull/96346 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [ParserHLSL] Attempt to parse HLSL annotations on Field Decls. (PR #96346)

2024-06-21 Thread Damyan Pepper via cfe-commits
: Do we have enough to test a register annotation on a member as well now? https://github.com/llvm/llvm-project/pull/96346 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [ParserHLSL] Attempt to parse HLSL annotations on Field Decls. (PR #96346)

2024-06-21 Thread Damyan Pepper via cfe-commits
-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[jenkinsci/subversion-plugin] 040121: use eddsa-api plugin for eddsa library (#295)

2024-06-21 Thread 'James Nord' via Jenkins Commits
are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits

[clang] [Clang] use parent declaration context to avoid asserting cast failure in defaulted comparison method (PR #96228)

2024-06-21 Thread Oleksandr T. via cfe-commits
https://github.com/a-tarasyuk edited https://github.com/llvm/llvm-project/pull/96228 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [ParserHLSL] Attempt to parse HLSL annotations on Field Decls. (PR #96346)

2024-06-21 Thread Justin Bogner via cfe-commits
https://github.com/bogner commented: Please add some tests that show that we still handle bitfields correctly in HLSL with this change. https://github.com/llvm/llvm-project/pull/96346 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https

[clang] [Clang] resolve record declaration of defaulted comparison method by using the first argument (PR #96228)

2024-06-21 Thread Oleksandr T. via cfe-commits
class e { +public: + typedef a f; + f begin(); +}; +template constexpr bool operator==(d h, g i) { + return *c(h.begin()) == *c(i.begin()); +} +struct j { + e bar; + bool operator==(const j &) const; +}; +bool j::operator==(const j &) const = default; _____

[clang] [ParserHLSL] Attempt to parse HLSL annotations on Field Decls. (PR #96346)

2024-06-21 Thread Justin Bogner via cfe-commits
we handle annotations on struct fields` next to the expected error diagnostic and leave it at that. https://github.com/llvm/llvm-project/pull/96346 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo

[clang] [ParserHLSL] Attempt to parse HLSL annotations on Field Decls. (PR #96346)

2024-06-21 Thread Justin Bogner via cfe-commits
belongs in the PR description / commit message. https://github.com/llvm/llvm-project/pull/96346 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [ParserHLSL] Attempt to parse HLSL annotations on Field Decls. (PR #96346)

2024-06-21 Thread Justin Bogner via cfe-commits
https://github.com/bogner edited https://github.com/llvm/llvm-project/pull/96346 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] resolve record declaration of defaulted comparison method by using the first argument (PR #96228)

2024-06-21 Thread Oleksandr T. via cfe-commits
nse at the `DefineDefaultedComparison` stage but not in `ComputeDefaultedComparisonExceptionSpec`. https://github.com/llvm/llvm-project/pull/96228 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/

[clang] Add support for builtin_verbose_trap (PR #79230)

2024-06-21 Thread Michael Buch via cfe-commits
it. https://github.com/llvm/llvm-project/pull/79230 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [ParserHLSL] Attempt to parse HLSL annotations on Field Decls. (PR #96346)

2024-06-21 Thread Chris B via cfe-commits
wrote: Can you also make sure to have a test to verify bitfield parsing still works? https://github.com/llvm/llvm-project/pull/96346 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [NFC] Fix dead links in TargetCXXABI.def (PR #96348)

2024-06-21 Thread via cfe-commits
https://github.com/llvm/llvm-project/pull/96348 ___________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [ParserHLSL] Attempt to parse HLSL annotations on Field Decls. (PR #96346)

2024-06-21 Thread Chris B via cfe-commits
wrote: Sadly this code is actually valid: https://godbolt.org/z/a6q3P1h65 https://github.com/llvm/llvm-project/pull/96346 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [NFC] Fix dead links in TargetCXXABI.def (PR #96348)

2024-06-21 Thread Mital Ashok via cfe-commits
i-aa ITANIUM_CXXABI(AppleARM64, "applearm64") /// WatchOS is a modernisation of the iOS ABI, which roughly means it's _______ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] resolve record declaration of defaulted comparison method by using the first argument (PR #96228)

2024-06-21 Thread Oleksandr T. via cfe-commits
class e { +public: + typedef a f; + f begin(); +}; +template constexpr bool operator==(d h, g i) { + return *c(h.begin()) == *c(i.begin()); +} +struct j { + e bar; + bool operator==(const j &) const; +}; +bool j::operator==(const j &) const = default; _____

[Lldb-commits] [lldb] [lldb][ExpressionParser][NFCI] Add new DoPrepareForExecution interface to be implemented by language plugins (PR #96290)

2024-06-21 Thread Michael Buch via lldb-commits
ializers( -IRExecutionUnitSP _unit_sp, ExecutionContext _ctx) { +Status +ExpressionParser::RunStaticInitializers(IRExecutionUnitSP _unit_sp, + ExecutionContext _ctx) { Status err; if (!execution_unit_sp.get()) { ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[clang] [ParserHLSL] Attempt to parse HLSL annotations on Field Decls. (PR #96346)

2024-06-21 Thread Joshua Batista via cfe-commits
https://github.com/bob80905 edited https://github.com/llvm/llvm-project/pull/96346 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[jenkinsci/jenkins-test-harness] 05678f: Drop support for EE 8

2024-06-21 Thread 'Basil Crow' via Jenkins Commits
: --- Drop support for EE 8 To unsubscribe from these emails, change your notification settings at https://github.com/jenkinsci/jenkins-test-harness/settings/notifications -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubs

[clang] [PPC][InlineASM] Mark the 'a' constraint as unsupported (PR #96109)

2024-06-21 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay approved this pull request. https://github.com/llvm/llvm-project/pull/96109 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [PPC][InlineASM] Mark the 'a' constraint as unsupported (PR #96109)

2024-06-21 Thread Fangrui Song via cfe-commits
. You can reuse the test for other errors. https://github.com/llvm/llvm-project/pull/96109 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [DirectX] Move ResourceClass enum into DXILABI. NFC (PR #96335)

2024-06-21 Thread Justin Bogner via cfe-commits
https://github.com/bogner closed https://github.com/llvm/llvm-project/pull/96335 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 39048b6 - [DirectX] Move ResourceClass enum into DXILABI. NFC (#96335)

2024-06-21 Thread via cfe-commits
<< " break;\n"; } + if (!isCovered) { +OS << "default:\n"; +OS << " llvm_unreachable(\"Invalid attribute value\");\n"; + } OS << " }\n"; OS << "}\n"; } @@ -1168,6 +1176,9 @@ namespace { OS << " case " << fullType << "::" << enums[I] << ": return \"" << values[I] << "\";\n"; } + if (!isCovered) { +OS << " default: llvm_unreachable(\"Invalid attribute value\");\n"; + } OS << " }\n" << " llvm_unreachable(\"No enumerator with that value\");\n" << "}\n"; diff --git a/llvm/include/llvm/Frontend/HLSL/HLSLResource.h b/llvm/include/llvm/Frontend/HLSL/HLSLResource.h index 5c22d2ac02031..4ed742b4129a2 100644 --- a/llvm/include/llvm/Frontend/HLSL/HLSLResource.h +++ b/llvm/include/llvm/Frontend/HLSL/HLSLResource.h @@ -21,16 +21,8 @@ class MDNode; namespace hlsl { -enum class ResourceClass : uint8_t { - SRV = 0, - UAV, - CBuffer, - Sampler, - Invalid, - NumClasses = Invalid, -}; - // For now we use DXIL ABI enum values directly. This may change in the future. +using dxil::ResourceClass; using dxil::ElementType; using dxil::ResourceKind; diff --git a/llvm/include/llvm/Support/DXILABI.h b/llvm/include/llvm/Support/DXILABI.h index da4bea8fc46e3..78099ae0daeca 100644 --- a/llvm/include/llvm/Support/DXILABI.h +++ b/llvm/include/llvm/Support/DXILABI.h @@ -39,6 +39,13 @@ enum class ParameterKind : uint8_t { DXILHandle, }; +enum class ResourceClass : uint8_t { + SRV = 0, + UAV, + CBuffer, + Sampler, +}; + /// The kind of resource for an SRV or UAV resource. Sometimes referred to as /// "Shape" in the DXIL docs. enum class ResourceKind : uint32_t { ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [ParserHLSL] Attempt to parse HLSL annotations on Field Decls. (PR #96346)

2024-06-21 Thread via cfe-commits
nt a : SV_DispatchThreadID; +}; +Eg9 e9; + + +RWBuffer In : register(u1); + + +[numthreads(1,1,1)] +void main() { + In[0] = e9.a; +} `` https://github.com/llvm/llvm-project/pull/96346 _______ cfe-commits mailing list cfe-commits@lists.llvm.org http

[clang] [ParserHLSL] Attempt to parse HLSL annotations on Field Decls. (PR #96346)

2024-06-21 Thread Joshua Batista via cfe-commits
+void main() { + In[0] = e9.a; +} _______ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[jenkinsci/jenkins] fe7cf6: EE 8 to EE 9

2024-06-21 Thread 'Basil Crow' via Jenkins Commits
are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkins

[Lldb-commits] [lldb] [lldb] Unify Platform::ResolveExecutable (PR #96256)

2024-06-21 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere closed https://github.com/llvm/llvm-project/pull/96256 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] bf3e328 - [lldb] Unify Platform::ResolveExecutable (#96256)

2024-06-21 Thread via lldb-commits
} @@ -79,7 +80,7 @@ TEST_F(RemoteAwarePlatformTest, TestResolveExecutabelOnClientByPlatform) { static const ArchSpec process_host_arch; EXPECT_CALL(platform, GetSupportedArchitectures(process_host_arch)) .WillRepeatedly(Return(std::vector())); - EXPECT_CALL(platform, ResolveRemoteExecutable(_, _)) + EXPECT_CALL(platform, ResolveExecutable(_, _)) .WillRepeatedly(Return(std::make_pair(Status(), expected_executable))); platform.SetRemotePlatform(std::make_shared(false)); ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[llvm-branch-commits] [llvm] [BOLT] Hash-based function matching (PR #95821)

2024-06-21 Thread Amir Ayupov via llvm-branch-commits
__ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT] Hash-based function matching (PR #95821)

2024-06-21 Thread Amir Ayupov via llvm-branch-commits
it ignored. https://github.com/llvm/llvm-project/pull/95821 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT] Hash-based function matching (PR #95821)

2024-06-21 Thread Amir Ayupov via llvm-branch-commits
with function hash"), ``` https://github.com/llvm/llvm-project/pull/95821 _______ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT] Hash-based function matching (PR #95821)

2024-06-21 Thread Amir Ayupov via llvm-branch-commits
-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[jenkinsci/jenkins] 32151f: Upgrade Jetty from 10.0.20 to 12.0.10 (EE 8)

2024-06-21 Thread 'Basil Crow' via Jenkins Commits
you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits

[Qemu-commits] [qemu/qemu] a701c0: migration: Drop reference to QIOChannel if file se...

2024-06-21 Thread Richard Henderson via Qemu-commits
ng RSA key AA1B48B0A22326A5A4C364CFC798DC741BEC319D # gpg:issuer "faro...@suse.de" # gpg: Good signature from "Fabiano Rosas " [unknown] # gpg: aka "Fabiano Almeida Rosas " [unknown] # gpg: WARNING: This key is not certified with a tr

[llvm-branch-commits] [llvm] [BOLT] Name similarity function matching (PR #95884)

2024-06-21 Thread shaw young via llvm-branch-commits
nsigned BFEditDistance = +StringRef(BFDemangledName).edit_distance(YamlBFDemangledName); if (BFEditDistance < MinEditDistance) { MinEditDistance = BFEditDistance; ClosestNameBF = BF; @@ -484,7 +482,7 @@ Error YAMLProfileReader::readProfile(BinaryContext ) { }

[clang] Add support for builtin_verbose_trap (PR #79230)

2024-06-21 Thread Akira Hatanaka via cfe-commits
marginally easier to construct the regex in the LLDB frame recognizer. https://github.com/llvm/llvm-project/pull/79230 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [HLSL][clang] Add elementwise builtins for trig intrinsics (PR #95999)

2024-06-21 Thread Helena Kotas via cfe-commits
https://github.com/hekota approved this pull request. LGTM! https://github.com/llvm/llvm-project/pull/95999 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Add support for builtin_verbose_trap (PR #79230)

2024-06-21 Thread Akira Hatanaka via cfe-commits
https://github.com/ahatanak updated https://github.com/llvm/llvm-project/pull/79230 >From 95200f3bb3859738981240a9d8c503a13ede9601 Mon Sep 17 00:00:00 2001 From: Akira Hatanaka Date: Tue, 16 Jan 2024 13:18:09 -0800 Subject: [PATCH 01/17] Add support for builtin_verbose_trap The builtin causes

[Lldb-commits] [lldb] [llvm] Add support for using foreign type units in .debug_names. (PR #87740)

2024-06-21 Thread Pavel Labath via lldb-commits
cessarily come from a DIERef. I can imagine other scenarios where it might be interesting to ask for a symbol file, but I think we can deal with it when the time comes. https://github.com/llvm/llvm-project/pull/87740 ___________ lldb-commits mailing list lldb-c

[Lldb-commits] [lldb] [llvm] Add support for using foreign type units in .debug_names. (PR #87740)

2024-06-21 Thread Pavel Labath via lldb-commits
-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [llvm] Add support for using foreign type units in .debug_names. (PR #87740)

2024-06-21 Thread Pavel Labath via lldb-commits
https://github.com/labath approved this pull request. https://github.com/llvm/llvm-project/pull/87740 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [llvm] Add support for using foreign type units in .debug_names. (PR #87740)

2024-06-21 Thread Pavel Labath via lldb-commits
https://github.com/labath edited https://github.com/llvm/llvm-project/pull/87740 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[clang] [PPC][InlineASM] Mark the 'a' constraint as unsupported (PR #96109)

2024-06-21 Thread Kamau Bridgeman via cfe-commits
raint 'a' in asm}} + asm goto ("bc 12,2,%l[TEST_LABEL]" : : "a"(&_LABEL) : : TEST_LABEL); //expected-error {{invalid input constraint 'a' in asm}} return 0; TEST_LABEL: return arg + 1; } ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][AMDGPU] Add builtins for instrinsic `llvm.amdgcn.raw.buffer.store` (PR #94576)

2024-06-21 Thread Shilei Tian via cfe-commits
t;vWiQbiiIi", "n") +BUILTIN(__builtin_amdgcn_raw_buffer_store_b96, "vV3iQbiiIi", "n") shiltian wrote: isn't it gonna be a pain to even do an `i64` to `v2i32`? https://github.com/llvm/llvm-project/pull/94576 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 918ef31 - [C99] Claim full conformance to C99

2024-06-21 Thread Aaron Ballman via cfe-commits
Author: Aaron Ballman Date: 2024-06-21T13:47:57-04:00 New Revision: 918ef312d1fda56ff783f3974b5a193542e5497c URL: https://github.com/llvm/llvm-project/commit/918ef312d1fda56ff783f3974b5a193542e5497c DIFF: https://github.com/llvm/llvm-project/commit/918ef312d1fda56ff783f3974b5a193542e5497c.diff

[clang] [llvm] [clang] Implement pointer authentication for C++ virtual functions, v-tables, and VTTs (PR #94056)

2024-06-21 Thread Ahmed Bougacha via cfe-commits
https://github.com/ahmedbougacha edited https://github.com/llvm/llvm-project/pull/94056 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm-branch-commits] [clang] [llvm] [clang] Implement pointer authentication for C++ virtual functions, v-tables, and VTTs (PR #94056)

2024-06-21 Thread Ahmed Bougacha via llvm-branch-commits
https://github.com/ahmedbougacha reopened https://github.com/llvm/llvm-project/pull/94056 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[clang] Add support for builtin_verbose_trap (PR #79230)

2024-06-21 Thread Akira Hatanaka via cfe-commits
to try too hard to shorten the prefix. https://github.com/llvm/llvm-project/pull/79230 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Replace `emitXXXBuiltin` with a unified interface (PR #96313)

2024-06-21 Thread Shilei Tian via cfe-commits
::ID Intrin = BuiltinID == AMDGPU::BI__builtin_amdgcn_ds_append ? @@ -19023,7 +19016,8 @@ Value *CodeGenFunction::EmitAMDGPUBuiltinExpr(unsigned BuiltinID, // r600 intrinsics case AMDGPU::BI__builtin_r600_recipsqrt_ieee: case AMDGPU::BI__builtin_r600_recipsqrt_ieeef: -return emitUna

[clang] [llvm] Remove mmx 3dnow (PR #96246)

2024-06-21 Thread James Y Knight via cfe-commits
generally conditioned the include on `__3dNOW__` being defined, anyhow. https://github.com/llvm/llvm-project/pull/96246 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][AMDGPU] Add builtins for instrinsic `llvm.amdgcn.raw.buffer.store` (PR #94576)

2024-06-21 Thread Matt Arsenault via cfe-commits
t;vWiQbiiIi", "n") +BUILTIN(__builtin_amdgcn_raw_buffer_store_b96, "vV3iQbiiIi", "n") arsenm wrote: The b64/b96/b128 cases should canonically use v2i32/v3i32/v4i32 https://github.com/llvm/llvm-project/pull/94576 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 131bc03 - [C99] Claim partial conformance to IEC 60559 support

2024-06-21 Thread Aaron Ballman via cfe-commits
musl will define the macro regardless of compiler support unless + the compiler defines __GCC_IEC_559, which Clang does not + currently define. + + trailing comma allowed in enum declaration _____

[clang] [Clang] Replace `emitXXXBuiltin` with a unified interface (PR #96313)

2024-06-21 Thread Matt Arsenault via cfe-commits
ns. +template +Value *emitBuiltinWithSingleMangling(CodeGenFunction , const CallExpr *E, arsenm wrote: WithOneOverloadedType? https://github.com/llvm/llvm-project/pull/96313 ___________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm-branch-commits] [llvm] [BOLT] Name similarity function matching (PR #95884)

2024-06-21 Thread shaw young via llvm-branch-commits
https://github.com/shawbyoung deleted https://github.com/llvm/llvm-project/pull/95884 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[clang] [clang] Allow class with anonymous union member to be const-default-constructible even if a union member has a default member initializer (#95854) (PR #96301)

2024-06-21 Thread Shafik Yaghmour via cfe-commits
ll/96301 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Allow class with anonymous union member to be const-default-constructible even if a union member has a default member initializer (#95854) (PR #96301)

2024-06-21 Thread Shafik Yaghmour via cfe-commits
github issues in a namespace starting with `GH` and followed by the issue number for this case `namespace GH95854` https://github.com/llvm/llvm-project/pull/96301 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin

[llvm-branch-commits] [llvm] [BOLT] Name similarity function matching (PR #95884)

2024-06-21 Thread shaw young via llvm-branch-commits
me(BF->getOneName().str().c_str()); shawbyoung wrote: For the sake of matching - is not a good idea to apply the same function name transformation to both the YamlBF and BF function names? https://github.com/llvm/llvm-project/pull/95884 _______

branch master updated: gnu: clifm: Update to 1.19.

2024-06-21 Thread guix-commits
This is an automated email from the git hooks/post-receive script. jgart pushed a commit to branch master in repository guix. The following commit(s) were added to refs/heads/master by this push: new 594419b09e gnu: clifm: Update to 1.19. 594419b09e is described below commit

[clang] [llvm] [DirectX] Move ResourceClass enum into DXILABI. NFC (PR #96335)

2024-06-21 Thread David Peixotto via cfe-commits
https://github.com/dmpots approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/96335 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [DirectX] Move ResourceClass enum into DXILABI. NFC (PR #96335)

2024-06-21 Thread Damyan Pepper via cfe-commits
https://github.com/damyanp approved this pull request. https://github.com/llvm/llvm-project/pull/96335 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm-branch-commits] [clang] [llvm] [clang] Implement pointer authentication for C++ virtual functions, v-tables, and VTTs (PR #94056)

2024-06-21 Thread Akira Hatanaka via llvm-branch-commits
https://github.com/ahatanak closed https://github.com/llvm/llvm-project/pull/94056 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [compiler-rt] [llvm] [PAC][AArch64] Support init/fini array signing (PR #95203)

2024-06-21 Thread Akira Hatanaka via llvm-branch-commits
https://github.com/ahatanak closed https://github.com/llvm/llvm-project/pull/95203 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[clang] [clang] Implement function pointer signing and authenticated function calls (PR #93906)

2024-06-21 Thread Akira Hatanaka via cfe-commits
https://github.com/ahatanak closed https://github.com/llvm/llvm-project/pull/93906 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] e23250e - [clang] Implement function pointer signing and authenticated function calls (#93906)

2024-06-21 Thread via cfe-commits
x-gnu -fptrauth-calls -emit-llvm -std=c++11 -fexceptions -fcxx-exceptions -o - %s | FileCheck %s + +void f(void); +auto _ref = f; + +// CHECK: define {{(dso_local )?}}void @_Z1gv( +// CHECK: call void ptrauth (ptr @_Z1fv, i32 0)() [ "ptrauth"(i32 0, i64 0) ] + +void g() { f_ref(); } + +void foo1(); + +void test_terminate() noexcept { + foo1(); +} + +// CHECK: define {{(dso_local )?}}void @_ZSt9terminatev() #[[ATTR4:.*]] { + +namespace std { + void terminate() noexcept { + } +} + +// CHECK: attributes #[[ATTR4]] = {{{.*}}"ptrauth-calls"{{.*}}} ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[Lldb-commits] [lldb] [lldb][API] Add Find(Ranges)InMemory() to Process SB API (PR #95007)

2024-06-21 Thread Greg Clayton via lldb-commits
com/llvm/llvm-project/pull/95007 _______ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][API] Add Find(Ranges)InMemory() to Process SB API (PR #95007)

2024-06-21 Thread Greg Clayton via lldb-commits
dr % alignment) { + ++start; clayborg wrote: No sense in just incrementing by 1, lets increment by an aligned value. ``` start = llvm::alignTo(start+1, alignment); ``` https://github.com/llvm/llvm-project/pull/95007 _______ lldb-commits mailing list l

[Lldb-commits] [lldb] [lldb][API] Add Find(Ranges)InMemory() to Process SB API (PR #95007)

2024-06-21 Thread Greg Clayton via lldb-commits
clayborg wrote: remove single if/else statement '{}' per llvm coding guidelines https://github.com/llvm/llvm-project/pull/95007 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][API] Add Find(Ranges)InMemory() to Process SB API (PR #95007)

2024-06-21 Thread Greg Clayton via lldb-commits
atement '{}' per llvm coding guidelines https://github.com/llvm/llvm-project/pull/95007 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][API] Add Find(Ranges)InMemory() to Process SB API (PR #95007)

2024-06-21 Thread Greg Clayton via lldb-commits
const AddressRange = ranges[i]; +if (range.IsValid() == false) { + continue; +} clayborg wrote: remove single if statement '{}' per llvm coding guidelines https://github.com/llvm/llvm-project/pull/95007 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][API] Add Find(Ranges)InMemory() to Process SB API (PR #95007)

2024-06-21 Thread Greg Clayton via lldb-commits
start += alignment - align_offset; + } clayborg wrote: All these lines can be: ``` lldb::addr_t start = llvm::alignTo(start_addr, alignment); ``` https://github.com/llvm/llvm-project/pull/95007 _______ lldb-commits mailing list lldb-commits@li

[Lldb-commits] [lldb] [lldb][API] Add Find(Ranges)InMemory() to Process SB API (PR #95007)

2024-06-21 Thread Greg Clayton via lldb-commits
- clayborg wrote: remove single if statement '{}' per llvm coding guidelines https://github.com/llvm/llvm-project/pull/95007 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[clang] [llvm] [DirectX] Move ResourceClass enum into DXILABI. NFC (PR #96335)

2024-06-21 Thread via cfe-commits
uot;\";\n"; OS << " break;\n"; } + if (!isCovered) { +OS << "default:\n"; + OS << " llvm_unreachable(\"Invalid attribute value\");\n"; + } OS << " }\n"; OS << "}\n"; } @@ -1168,6 +1176,9 @@ namespace { OS << " case " << fullType << "::" << enums[I] << ": return \"" << values[I] << "\";\n"; } + if (!isCovered) { +OS << " default: llvm_unreachable(\"Invalid attribute value\");\n"; + } OS << " }\n" << " llvm_unreachable(\"No enumerator with that value\");\n" << "}\n"; diff --git a/llvm/include/llvm/Frontend/HLSL/HLSLResource.h b/llvm/include/llvm/Frontend/HLSL/HLSLResource.h index edfcbda0a3bb3..5ce3745cb6758 100644 --- a/llvm/include/llvm/Frontend/HLSL/HLSLResource.h +++ b/llvm/include/llvm/Frontend/HLSL/HLSLResource.h @@ -21,16 +21,8 @@ class GlobalVariable; namespace hlsl { -enum class ResourceClass : uint8_t { - SRV = 0, - UAV, - CBuffer, - Sampler, - Invalid, - NumClasses = Invalid, -}; - // For now we use DXIL ABI enum values directly. This may change in the future. +using dxil::ResourceClass; using dxil::ElementType; using dxil::ResourceKind; diff --git a/llvm/include/llvm/Support/DXILABI.h b/llvm/include/llvm/Support/DXILABI.h index da4bea8fc46e3..78099ae0daeca 100644 --- a/llvm/include/llvm/Support/DXILABI.h +++ b/llvm/include/llvm/Support/DXILABI.h @@ -39,6 +39,13 @@ enum class ParameterKind : uint8_t { DXILHandle, }; +enum class ResourceClass : uint8_t { + SRV = 0, + UAV, + CBuffer, + Sampler, +}; + /// The kind of resource for an SRV or UAV resource. Sometimes referred to as /// "Shape" in the DXIL docs. enum class ResourceKind : uint32_t { `` https://github.com/llvm/llvm-project/pull/96335 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [DirectX] Move ResourceClass enum into DXILABI. NFC (PR #96335)

2024-06-21 Thread Justin Bogner via cfe-commits
will give us an empty @@ -,6 +1115,10 @@ namespace { OS << " OS << \" " << UI << "\";\n"; OS << " break;\n"; } + if (!isCovered) { + OS << "default:\n"; +

[clang] [Clang][AArch64] Expose compatible SVE intrinsics with only +sme (PR #95787)

2024-06-21 Thread LLVM Continuous Integration via cfe-commits
/llvm/llvm-project/pull/95787 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Serialization] Use stable hash functions (PR #96136)

2024-06-21 Thread Chuanqi Xu via cfe-commits
/154/builds/322). I feel b39f523a is not related to tests. https://github.com/llvm/llvm-project/pull/96136 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[Lldb-commits] [lldb] [llvm] Add support for using foreign type units in .debug_names. (PR #87740)

2024-06-21 Thread Greg Clayton via lldb-commits
clayborg wrote: All issues resolved except the change of `GetDIERefSymbolFile`. Let me know if you agree with my comments, or want a `GetSymbolFileByFileIndex(std::optional file_idx)`. https://github.com/llvm/llvm-project/pull/87740 ___ lldb-commits

[Lldb-commits] [lldb] [llvm] Add support for using foreign type units in .debug_names. (PR #87740)

2024-06-21 Thread Greg Clayton via lldb-commits
ll change this https://github.com/llvm/llvm-project/pull/87740 ___________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [llvm] Add support for using foreign type units in .debug_names. (PR #87740)

2024-06-21 Thread Greg Clayton via lldb-commits
https://github.com/clayborg updated https://github.com/llvm/llvm-project/pull/87740 >From badd915257bb192add91696e0b8530c057bd385f Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Sat, 30 Mar 2024 10:50:34 -0700 Subject: [PATCH 01/12] Add support for using foreign type units in .debug_names.

[clang] [llvm] Remove mmx 3dnow (PR #96246)

2024-06-21 Thread Simon Pilgrim via cfe-commits
tps://github.com/llvm/llvm-project/pull/96246 _______ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Allow class with anonymous union member to be const-default-constructible even if a union member has a default member initializer (#95854) (PR #96301)

2024-06-21 Thread Shafik Yaghmour via cfe-commits
https://github.com/shafik edited https://github.com/llvm/llvm-project/pull/96301 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[Lldb-commits] [lldb] Reapply PR/87550 (again) (PR #95571)

2024-06-21 Thread Vy Nguyen via lldb-commits
%) Unresolved : 27 (2.28%) Failed : 5 (0.42%) ``` ) https://github.com/llvm/llvm-project/pull/95571 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[clang] [clang] Allow class with anonymous union member to be const-default-constructible even if a union member has a default member initializer (#95854) (PR #96301)

2024-06-21 Thread Shafik Yaghmour via cfe-commits
/llvm-project/pull/96301 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[Lldb-commits] [lldb] Reapply PR/87550 (again) (PR #95571)

2024-06-21 Thread Vy Nguyen via lldb-commits
breakpoints must have been populated"); for (auto : *exception_breakpoints) { if (bp.filter == filter) @@ -115,8 +113,6 @@ ExceptionBreakpoint *DAP::GetExceptionBreakpoint(const std::string ) { ExceptionBreakpoint *DAP::GetExceptionBreakpoint(const lldb::break_id_t bp_id) { // See comment in the other GetExceptionBreakpoint(). PopulateExceptionBreakpoints(); - assert(exception_breakpoints.has_value() && - "exception_breakpoints must have been populated"); for (auto : *exception_breakpoints) { if (bp.bp.GetID() == bp_id) ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[clang] [llvm] Remove mmx 3dnow (PR #96246)

2024-06-21 Thread James Y Knight via cfe-commits
t. (Tests fail, otherwise!) https://github.com/llvm/llvm-project/pull/96246 _______ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] Remove mmx 3dnow (PR #96246)

2024-06-21 Thread via cfe-commits
ot;); +<< ", MMX " << HasMMX << ", 64bit " << HasX86_64 << "\n"); if (Is64Bit && !HasX86_64) report_fatal_error("64-bit code requested on a subtarget that doesn't " &quo

[llvm-branch-commits] [mlir] [mlir][Transforms][NFC] Dialect Conversion: Move argument materialization logic (PR #96329)

2024-06-21 Thread via llvm-branch-commits
/*outputType=*/origArg.getType(), /*origArgType=*/{}, +blockTypeConversionRewrite->getConverter()); + rewriterImpl.mapping.map(origArg, repl); + } +} } return success(); } `` https://github.com/llvm/llvm-project/pull/96329 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [mlir] [mlir][Transforms][NFC] Dialect Conversion: Move argument materialization logic (PR #96329)

2024-06-21 Thread via llvm-branch-commits
*outputType=*/origArg.getType(), /*origArgType=*/{}, +blockTypeConversionRewrite->getConverter()); + rewriterImpl.mapping.map(origArg, repl); + } +} } return success(); } `` https://github.com/llvm/llvm-project/pull/96329 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

<    2   3   4   5   6   7   8   9   10   11   >