- Aug 26, 2023
-
-
Johannes Doerfert authored
If a potential callee has more arguments than the call site, the values passed will be `poison`. If the potential callee would exhibit UB for such `undef` argument, e.g., they are marked `noundef`, we can rule the potential callee out.
-
Johannes Doerfert authored
The user can now limit the number of indirect calls specialized for a given call site with `-attributor-max-specializations-per-call-base=N` or the AttributorConfig callback. We further attach the `!callee` metadata if all remaining callees are known.
-
Johannes Doerfert authored
-
Jonas Devlieghere authored
The test was expecting vector<basic_string<char>> & while the test returned vector<string> &. Since verify_completions doesn't support regex matching, sidestep the issue by using a custom type (baz). Differential revision: https://reviews.llvm.org/D158893
-
Aiden Grossman authored
This pass extends StructuralHash to include much more information about the IR under analysis. This is done with a flag (Detailed) to configure the behavior. The detailed behavior is intended for use in expensive checks and downstream. Differential Revision: https://reviews.llvm.org/D158250 Reviewed-By: aeubanks, nikic
-
Erik Desjardins authored
I forgot to do this in 66ec5df3 / https://reviews.llvm.org/D158810. Since this is testing for an assertion failure, the test checks don't matter, but we might as well avoid unnecessary churn the next time someone modifies this test.
-
Valentin Clement authored
When acc routine is in a function, the first symbol resolved was the function result and not the function name itself. It was then failing the deferred attachment because the mangled name had the entity attach to it. This patch fix the name resolution for the function name in acc routine directive. Reviewed By: razvanlupusoru Differential Revision: https://reviews.llvm.org/D158868
-
Snehasish Kumar authored
The option was added in github.com/llvm/llvm-project/commit/90ab85a1 but it doesn't seem to be used. The triple check has been removed so this shouldn't be required going forward. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D158885
-
Craig Topper authored
[RISCV] Improve splatPartsI64WithVL for vlmax scalable vector constants where Hi and Lo are the same. We can use a 32-bit splat and bitcast to i64 vector. This only handles the case where we are using vlmax so that the new vl is cheap to compute. This could be generalized to double the VL. Reviewed By: reames Differential Revision: https://reviews.llvm.org/D158879
-
Craig Topper authored
There was quite a bit of duplication between splatPartsI64WithVL and the scalable vector handling in lowerSPLAT_VECTOR_PARTS, but scalable vector had one additional case. Move that case to splatPartsI64WithVL which improves some fixed vector tests. Reviewed By: reames Differential Revision: https://reviews.llvm.org/D158876
-
Valentin Clement authored
Reviewed By: razvanlupusoru Differential Revision: https://reviews.llvm.org/D158888
-
Aiden Grossman authored
This patch makes the -force-attribute and -force-remove-attribute flags in the forceattrs pass additionally work over all the functions in a module rather than on specific functions. I often find myself dealing with bitcode from projects with arbitrary build systems that have applied the optnone attribute for various reasons and having the ability to do this in opt would be quite convenient. It's possible to remove the attribute by disassembling to textual IR, running sed, and then running opt over the result, but this option makes things just a bit easier. Differential Revision: https://reviews.llvm.org/D158815 Reviewed-By: nikic
-
Shafik Yaghmour authored
The implementation of __builtin_strncmp and other related builtins function use getExtValue() to evaluate the size argument. This can cause a crash when the value does not fit into an int64_t value, which is can be expected since the type of the argument is size_t. The fix is to switch to using getZExtValue(). This fixes: https://github.com/llvm/llvm-project/issues/64876 Differential Revision: https://reviews.llvm.org/D158557
-
Nathan Ridge authored
Fixes https://github.com/llvm/llvm-project/issues/64841 Differential Revision: https://reviews.llvm.org/D158873
-
Jonas Devlieghere authored
The test was disabled because it was supposedly flakey. I'm not able to reproduce any flakiness. I ran the test in a look with different levels of parallelization and load. Re-enabling the test and monitoring the Darwin bots.
-
Chi Chun Chen authored
Updating the status for a number of features in the OpenMP support page for Clang/LLVM 17. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D156894
-
Brad Smith authored
Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D158806
-
Fangrui Song authored
after D104279 and D158706.
-
Kazu Hirata authored
This patch fixes: llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp:3468:14: error: variable 'foundJTI' set but not used [-Werror,-Wunused-but-set-variable]
-
Kazu Hirata authored
-
Justin Bogner authored
Also test all shader types and be a bit more careful to make shaders reasonably valid in these tests. Differential Revision: https://reviews.llvm.org/D158820
-
Danila Malyutin authored
Differential Revision: https://reviews.llvm.org/D158866
-
Elizabeth Andrews authored
Fix a few static analyzer concerns about dereferencing null value. Differential Revision: https://reviews.llvm.org/D158671
-
Jonas Devlieghere authored
-
Tue Ly authored
Add missing triple_double header and target to bazel overlay. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D158877
-
LLVM GN Syncbot authored
-
Petr Hosek authored
This is the intended semantics, see for more details: https://sourceware.org/pipermail/binutils/2020-June/111685.html Differential Revision: https://reviews.llvm.org/D158822
-
Jeffrey Byrnes authored
This provides a uniform way to lower into the relevant instructions across all generations. Differential Revision: https://reviews.llvm.org/D158468 Change-Id: I1f7ba4b15ee470738535cf1c7d177a11fc471e43
-
Louis Dionne authored
-
Sindhu Chittireddy authored
Differential Revision: https://reviews.llvm.org/D158775
-
Arthur Eubanks authored
Fixes some clang-repl tests failing with error: Symbols not found: [ llvm_orc_registerJITLoaderGDBWrapper ] Mirrors export_executable_symbols_for_plugins in CMake. Other binaries also use export_executable_symbols_for_plugins, but testing-wise it seems like it's only necessary for clang-repl, so limit it to clang-repl for now.
-
Corentin Jabot authored
From revision 112
-
Jonas Devlieghere authored
The test was disabled because it failed on the sanitized bot. I'm not able to reproduce that locally. The test uses timeouts which could explain why it was failing in the past. Let's re-enable it and see what happens. If it fails again on GreenDragon, rather than disabling it on Darwin altogether, we should either increase the timeouts or skip it when run under ASan.
-
Kazu Hirata authored
This patch fixes: llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp:3540:9: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
-
Samuel Thibault authored
GNU/Hurd does have clock_gettime, it just doesn't define _POSIX_TIMERS because its support for timers is not complete. Reviewed By: #libc, Mordante Differential Revision: https://reviews.llvm.org/D158584
-
Michael Halkenhaeuser authored
Fixes: https://github.com/llvm/llvm-project/issues/64487 Connect OMPT during plugin initialization and enable corresponding tests. Avoid linking OMPT when corresponding support is disabled. Depends on D158542 Reviewed By: tianshilei1992 Differential Revision: https://reviews.llvm.org/D158543
-
Daniel Paoliello authored
Fix `llvm/test/DebugInfo/COFF/jump-table.ll` by adding `REQUIRES` clauses for all architectures used by the test.
-
Johannes Doerfert authored
Before, we checked the parallel region only once, and ignored updates in the KernelInfo for the parallel region that happened later. This caused us to think nested parallel sections are not present even if they are, among other things.
-
Khem Raj authored
Some 32-bit architectures don't have mmap and define mmap2 instead. E.g. on riscv32 we may get ``` | /mnt/b/yoe/master/build/tmp/work-shared/llvm-project-source-17.0.0-r0/git/llvm/tools/llvm-exegesis/lib/X86/Target.cpp:1116:19: error: use of undeclared identifier 'SYS_mmap' | 1116 | generateSyscall(SYS_mmap, MmapCode); | | ^ | /mnt/b/yoe/master/build/tmp/work-shared/llvm-project-source-17.0.0-r0/git/llvm/tools/llvm-exegesis/lib/X86/Target.cpp:1134:19: error: use of undeclared identifier 'SYS_mmap' | 1134 | generateSyscall(SYS_mmap, GeneratedCode); | | ^ | 1 warning and 2 errors generated. ``` Co-Authored-By:
Fangrui Song <i@maskray.me> Differential Revision: https://reviews.llvm.org/D158375
-
Erik Desjardins authored
Another case of https://github.com/llvm/llvm-project/issues/55085. The added test would trip an assertion due to calling `getSExtValue()` on a value that doesn't fit in int64_t. Differential Revision: https://reviews.llvm.org/D158810
-