- May 14, 2024
-
-
Chuanqi Xu authored
-
Michael Klemm authored
[Flang][Driver] Add -print-resource-dir command line flag to emit Flang's resource directory (#90886) This should be a NFC change for all drivers, but Flang.
-
Dmitry Vasilyev authored
It can be used in tests #91918, #91931 and such.
-
Jacob Lambert authored
-
Yeting Kuo authored
When Zicfilp enabled, indirect jump table branch should be a software guarded branch.
-
Alex Bradbury authored
This matches what we do for extensions, and saves us having to do it in RISCVISAInfo. This is a minor tweak to what I added in #91993.
-
Matthias Gehre authored
Allow to skip running the TOSA validation pass when spec conformance is not required.
-
Matthias Gehre authored
After #86509 allowed all integer types in TOSA ops, this PR allows TOSA ops on all floating point types. This helps to experiment with `f64` and 8-bit float types when spec conformance is not required.
-
Pierre van Houtryve authored
I was benchmarking the MatchTable when I found that `getConstantVRegValWithLookThrough` took a non-negligible amount of time, about 7.5% of all of `AArch64PreLegalizerCombinerImpl::tryCombineAll`. I decided to take a closer look to see if I could squeeze some performance out of it, and I landed on a few changes that: - Avoid copying APint unnecessarily, especially returning std::optional<APInt> can be expensive when a out parameter also works. - Avoid indirect call by using templated function pointers instead of function_ref/std::function Both of those changes seem to speedup this function by about 50%, but my benchmarking (`perf record`) seems inconsistent (so take measurements with a grain of salt), I saw as high as 4.5% and as low as 2% for this function on the exact same input after the changes, but it never got close again to 7% in a few runs so this looks like a stable improvement.
-
Tomas Matheson authored
-
appujee authored
Recurring meeting at 3rd Thursday of every month.
-
Robin Caloudis authored
Since https://github.com/llvm/llvm-project/pull/91150, a proxy header for the errno macros is available and gets included in `libc_errno.h` since then. As `libc_errno.cpp` includes `libc_errno.h`, which already includes the proxy header `hdr/errno_macros.h`, there's no need to include it in `libc_errno.cpp` if we are in overlay mode, because the proxy header takes care to either include our header from libc/include/ (fullbuild) or the corresponding underlying system header (overlay).
-
Owen Pan authored
Remove FormatToken::isSimpleTypeSpecifier() and call Token::isSimpleTypeSpecifier(LangOpts) instead.
-
Schrodinger ZHU Yifan authored
-
Craig Topper authored
The same registers are listed in the same order in FixedCSRFIMap.
-
Alex Bradbury authored
This is just the TableGen-side changes, split out as the minimal testable unit. It doesn't yet transition RVA23 and friends to be experimental (and add the necessary other changes for this to work). Although choosing not to emit the SupportedExperimentalProfiles array if no experimental profiles are present isn't consistent with what we do for experimental extensions, we need to do this in order to avoid adding a warning for the empty array when building LLVM for as long as we don't have any experimental profiles defined.
-
cor3ntin authored
wg21.link/P2552 suggest that __has_cpp_attribute should return a non-zero value for all attributes that the implementation does something interesting with. Clang does something meaninful with all attributes except for: - no_unique_address which we do not support for msvc target - carries_dependency which arguably does nothing interesting. P2552 shies away from specifying a behavior for that attribute (despite being the only one for which a recommandation would have been interesting, arguably) As such, we have nothing to change for this paper. This paper is a DR and clang always behaved reasonably.
-
Ryosuke Niwa authored
[alpha.webkit.UncountedCallArgsChecker] Allow explicit instantiation of Ref/RefPtr on call arguments. (#91875) Co-authored-by:Ryosuke Niwa <rniwa@apple.com>
-
Fangrui Song authored
-
Craig Topper authored
Remove the switch statement and instead do range checks to know which pieces we need to print.
-
Nikita Popov authored
-
Nikita Popov authored
-
Nikita Popov authored
-
Owen Pan authored
-
Owen Pan authored
Move static member functions LeftRightQualifierAlignmentFixer::is...() out of the class so that #91712 can reland.
-
Phoebe Wang authored
As discussed in https://github.com/llvm/llvm-project/commit/3cf8535dbf0bf5fafa99ea1f300e2384a7254fba We are not allowed to combine explicit fptrunc/fpext from user.
-
Congcong Cai authored
When someone wants to declare a test case without any diagnosis. check-clang-tidy will failed with error message ``` CHECK-FIXES, CHECK-MESSAGES or CHECK-NOTES not found in the input ``` This PR want to check there are no diagnosis from clang-tidy when CHECK-FIXES, CHECK-MESSAGES or CHECK-NOTES are not found. It also changes the extension of a test case. `hxx` is not a valid test case extension and won't be tested. --------- Co-authored-by:Danny Mösch <danny.moesch@icloud.com>
-
Jim Ingham authored
This test was modified as part of the commit: 9a7262c2 but without that patch this test is failing. Remove the test for now till the issue with the original patch can be sorted out.
-
Fangrui Song authored
-
Nikita Popov authored
StringMapImpl allocates the memory for the table, but does not have a dtor that free it. Instead, StringMap (which inherits from StringMapImpl) contains the free call. I don't really see a good reason why this free is performed in the "wrong" class, so move it into StringMapImpl.
-
Nikita Popov authored
This is currently bailing out on MemSizeInBytes larger than 64 bytes. However, the following code can only handle sizes up to 8 bytes. Possibly there was confusion here between MemSizeInBytes and MemSizeInBits. I *think* that this can't actually result in an out of bounds read of the opcode table because we'll only ever mark loads/stores of up to 8 bytes as legal (16 byte atomics are custom-legalized earlier). As such, I've changed this condition to an assert.
-
Amir Ayupov authored
-
Jim Ingham authored
This reverts commit a7eff59f.
-
Jim Ingham authored
Revert "[lldb][DWARF] Delay struct/class/union definition DIE searching when parsing declaration DIEs. (#90663)" This reverts commit 9a7262c2.
-
Nikita Popov authored
We only ever use the last element of this array, so there shouldn't be a need to store the preceding elements as well.
-
Peiming Liu authored
-
Fangrui Song authored
This reverts commit 91446e2a and a unittest followup 1530f319 (#90476). In a stage-2 -flto=thin -gsplit-dwarf -g -fdebug-info-for-profiling -fprofile-sample-use= build of clang, a ThinLTO backend compile has assertion failures: Global is external, but doesn't have external or weak linkage! ptr @_ZN5clang12ast_matchers8internal18makeAllOfCompositeINS_8QualTypeEEENS1_15BindableMatcherIT_EEN4llvm8ArrayRefIPKNS1_7MatcherIS5_EEEE function declaration may only have a unique !dbg attachment ptr @_ZN5clang12ast_matchers8internal18makeAllOfCompositeINS_8QualTypeEEENS1_15BindableMatcherIT_EEN4llvm8ArrayRefIPKNS1_7MatcherIS5_EEEE The failures somehow go away if -fprofile-sample-use= is removed.
-
Tom Stellard authored
We have been collecting release notes from the PRs for most of the 18.1.x releases and this just helps automate the process.
-
Michael Jones authored
Patch #91150 added a proxy header for errno macros. This patch fixes the bazel build since it needs to be added as a dependency.
-
Craig Topper authored
We can't save vector registers without V/Zve.
-