- Sep 11, 2022
-
-
Vitaly Buka authored
-
Vitaly Buka authored
Clang and GCC do this differently making IR inconsistent. https://lab.llvm.org/buildbot#builders/6/builds/13120
-
Vitaly Buka authored
Fails https://lab.llvm.org/buildbot#builders/6/builds/13120 This reverts commit affc90ed.
-
Vitaly Buka authored
-
Florian Hahn authored
-
Vitaly Buka authored
-
Vitaly Buka authored
This is work around for new false positives. Real implementation will follow.
-
Simon Pilgrim authored
We only need to handle the uniform cases early
-
Corentin Jabot authored
-
Simon Pilgrim authored
With the bdver2 model updates, many of the AVX1 costs were far too high - it also helped expose some costs mismatches for Atom/Silvermont
-
Simon Pilgrim authored
Noticed while trying to get vector ctpop/ctlz/cttz costs fixed using the script from D103695 - all of these are full-rate but the throughput costs were weirdly high for bdver2 Matches AMD 15h SoG, Agner and instlatx64
-
- Sep 10, 2022
-
-
Simon Pilgrim authored
Noticed while trying to get vector shifts costs fixed using the script from D103695 - all of these are full-rate but the throughput costs were weirdly high for bdver2 Matches AMD 15h SoG, Agner and instlatx64
-
Manuel Brito authored
Replacing the following instances of UndefValue with PoisonValue, where the UndefValue is used as an arbitrary value: - llvm/lib/CodeGen/WinEHPrepare.cpp `demotePHIsOnFunclets`: RAUW arbitrary value for lingering uses of removed PHI nodes - llvm/lib/Transforms/Utils/BasicBlockUtils.cpp `FoldSingleEntryPHINodes`: Removes a self-referential single entry phi node. - llvm/lib/Transforms/Utils/CallGraphUpdater.cpp `finalize`: Remove all references to removed functions. - llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp `cleanup`: the result is not used then the inserted instructions are removed. - llvm/tools/bugpoint/CrashDebugger.cpp `TestInts`: the program is cloned and instructions are removed to narrow down source of crash. Differential Revision: https://reviews.llvm.org/D133640
-
Yi Kong authored
Print out the archive member that failed, to make debugging easier. Before: error: failed to build archive: Not an int attribute (Producer: 'LLVM15.0.1git' Reader: 'LLVM 14.0.5-rust-dev') After: error: failed to build archive: 'fake_bt_keystore.o': Not an int attribute (Producer: 'LLVM15.0.1git' Reader: 'LLVM 14.0.5-rust-dev') Differential Revision: https://reviews.llvm.org/D133607
-
Nikolas Klauser authored
We've decided to use `_LIBCPP_STD_VER >= xy` while discussing to change the constexpr macros, so let's finally bump the version macro to match that. Reviewed By: ldionne, Mordante, huixie90, #libc, avogelsgesang Spies: avogelsgesang, libcxx-commits Differential Revision: https://reviews.llvm.org/D133323
-
Rainer Orth authored
I've been using this hack to work around the Linux/sparc64 compile failure described in Issue #47994 <https://github.com/llvm/llvm-project/issues/47994>, especially since the underlying glibc PR build/27558 <https://sourceware.org/bugzilla/show_bug.cgi?id=27558> doesn't seem to be making progress and some fix is required to have LLVM build on `sparc64-unknown-linux-gnu` at all, as evidenced on the buildbot. Tested on `sparc64-unknown-linux-gnu`. Differential Revision: https://reviews.llvm.org/D133405
-
sunho authored
-
sunho authored
Removes public bootstrap method that is not really necessary and not consistent with other platform API. Reviewed By: lhames Differential Revision: https://reviews.llvm.org/D132780
-
sunho authored
Supports dynamic VC runtime. It implements atexits handling which is required to load msvcrt.lib successfully. (the object file containing atexit symbol somehow resolves to static vc runtim symbols) It also default to dynamic vc runtime which tends to be more robust. Reviewed By: lhames Differential Revision: https://reviews.llvm.org/D132525
-
sunho authored
Uses DLLImportDefinitionGenerator for creating PLT stubs. It removes previous approach for dllimport stub creation which can't deal with jump thunks. Reviewed By: lhames Differential Revision: https://reviews.llvm.org/D132524
-
Craig Topper authored
getNegatedExpression can delete nodes. If the first call to getNegatedExpression produced a node that the second call also manages to create, it might get deleted. Use a HandleSDNode to ensure it has a use to prevent it from being deleted. Fixes PR57658. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D133602
-
Adrian Prantl authored
This patch adds a new page to the LLDB documentation that documents, among other things the -gmodules debug info format. Differential Revision: https://reviews.llvm.org/D133519
-
Jason Molenda authored
DynamicLoaderDarwinKernel calls in to PlatformDarwinKernel, and with my changes in https://reviews.llvm.org/D133534, PlatformDarwinKernel calls in to DynamicLoaderDarwinKernel. This results in a cmake dependency if accurately included in the link libraries list. lldbPluginDynamicLoaderDarwinKernel is specfically for kernel debugging and is uncommonly linked in to anything except a full lldb. lldbPluginPlatformMacOSX is any Darwin platform, including PlatformDarwinKernel, and is referenced a number of time in shell tests, for instance. I believe anything linking the darwin kernel DynamicLoader plugin will already have lldbPluginPlatformMacOSX in its dependency list, so not explicitly expressing this dependency is safe.
-
Mohammed Keyvanzadeh authored
Remove the extra trailing brace from the local variable accessor. Differential Revision: https://reviews.llvm.org/D133613
-
Aart Bik authored
One was an oversight, but the others seem something that regressed. Matthias to have look later. https://github.com/llvm/llvm-project/issues/57663 Reviewed By: Peiming Differential Revision: https://reviews.llvm.org/D133624
-
Joe Loser authored
There are a variety of issues with using GTest sharding by default for users of `lit` using the Google Test formatter as mentioned in https://github.com/llvm/llvm-project/issues/56492 and https://github.com/llvm/llvm-project/issues/56491. Currently, there is no way for users to explicitly control the sharding behavior, even with the environment variables that GTest provides. This patch teaches the `googletest` formatter to actually respect `GTEST_TOTAL_SHARDS` and `GTEST_SHARD_INDEX` environment variables if they are set. In practice, we could go one step further and not do any of the post-processing of the JSON files if `GTEST_TOTAL_SHARDS` is `1` for example, but that it left as a follow-up if desired. There may be preferred alternative approaches to disabling sharding entirely through another mechanism, such as a lit config variable. Differential Revision: https://reviews.llvm.org/D133542
-
Joe Loser authored
`llvm` and downstream internal callers no longer use `array_lengthof`, so drop the include everywhere. Differential Revision: https://reviews.llvm.org/D133600
-
Bruno Cardoso Lopes authored
The module cache escapes the test output dirs in this test. Since its default location maybe composed of system and user related path this can cause problems in some builders (e.g. not accessible paths inherited in a chroot environment). Clean the test a bit by passing `-fmodules-cache-path` inside the test output dirs. Differential Revision: https://reviews.llvm.org/D133617
-
Nico Weber authored
-
Nico Weber authored
-
Greg Clayton authored
Many times when debugging variables might not be available even though a user can successfully set breakpoints and stops somewhere. Letting the user know will help users fix these kinds of issues and have a better debugging experience. Examples of this include: - enabling -gline-tables-only and being able to set file and line breakpoints and yet see no variables - unable to open object file for DWARF in .o file debugging for darwin targets due to modification time mismatch or not being able to locate the N_OSO file. This patch adds an new API to SBValueList: lldb::SBError lldb::SBValueList::GetError(); object so that if you request a stack frame's variables using SBValueList SBFrame::GetVariables(...), you can get an error the describes why the variables were not available. This patch adds the ability to get an error back when requesting variables from a lldb_private::StackFrame when calling GetVariableList. It also now shows an error in response to "frame variable" if we have debug info and are unable to get varialbes due to an error as mentioned above: (lldb) frame variable error: "a.o" object from the "/tmp/libfoo.a" archive: either the .o file doesn't exist in the archive or the modification time (0x63111541) of the .o file doesn't match Differential Revision: https://reviews.llvm.org/D133164
-
Stanley Winata authored
Decompose conv_2d_nchw_fchw -> conv_1d_ncw_fcw Reviewed By: hanchung Differential Revision: https://reviews.llvm.org/D133551
-
Adrian Prantl authored
Differential Revision: https://reviews.llvm.org/D133618
-
Fangrui Song authored
`[[deprecated(...)]]` cannot appear between `inline size_t`.
-
Zequan Wu authored
[LLDB][NativePDB] Replace blocks.cpp with blocks.s so the test won't be affected by codegen changes.
-
Fangrui Song authored
-
River Riddle authored
Operations were being created without being erased.
-
River Riddle authored
There are various use cases where we don't want to immediately erase an operation when removing it from the symbol table. This commit adds a "remove" method to support that. Differential Revision: https://reviews.llvm.org/D133564
-
Xiang Li authored
Support number for parameter test added in https://reviews.llvm.org/D132913
-
Jason Molenda authored
Complete support of the binary-addresses key in the qProcessInfo packet in ProcessGDBRemote, for detecting if one of the binaries needs to be handled by a Platform plugin, and can be used to set the Process' DynamicLoader plugin and the Target's Platform plugin. Implement this method in PlatformDarwinKernel to recognize a kernel fileset at that address, find the actual kernel address in the fileset, set DynamicLoaderDarwinKernel and PlatformDarwinKernel in the Process/Target; register the kernel address with the dynamic loader so it will be loaded later during attach. This patch only addresses the live debug scenario with a gdb remote serial protocol connection. I'll handle corefiles in a subsequent patch that builds on this. Differential Revision: https://reviews.llvm.org/D133534 rdar://98754861
-