- Jan 07, 2021
-
-
Kazushi (Jam) Marukawa authored
-
Fangrui Song authored
-
Fangrui Song authored
-
Fangrui Song authored
-
Chris Lattner authored
Depends on D93908. Differential Revision: https://reviews.llvm.org/D94208
-
Chris Lattner authored
A previous patch made Value::getType() be resilient to null values which was considered to be too sweeping. This is a more targeted change which requires deabstracting some templates. A middle ground would be to make ValueTypeIterator be tolerant to null values. Differential Revision: https://reviews.llvm.org/D93908
-
Fangrui Song authored
-
Sanjoy Das authored
Also fix a typo in a comment. This fixes a compile time issue in XLA (https://www.tensorflow.org/xla). Differential Revision: https://reviews.llvm.org/D94182
-
Nathan James authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Jonas Devlieghere authored
The scoped enum tests depend on DW_AT_enum_class which was added in Dwarf 4. I made part of the test conditional on the Dwarf version instead of splitting it into a separate test and using the decorator to avoid the overhead of setting up the test.
-
Michał Górny authored
Add stN aliases for the FPU (stmmN) registers on MacOSX. This should improve compatibility between MacOSX and other platforms, and partially fix x86*-fp-write tests without having to duplicate them. Note that the tests are currently still broken due to ftag incompatibility. Differential Revision: https://reviews.llvm.org/D91847
-
Juneyoung Lee authored
This is a simple patch that adds folding from `insertelement vec, poison, idx` into `vec`. Alive2 proof: https://alive2.llvm.org/ce/z/2y2vbC Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D93994
-
Juneyoung Lee authored
-
Varun Gandhi authored
The implementation for (de)serialization of APValues can be shared between Clang and Swift, so we prefer pushing the methods up the inheritance hierarchy, instead of having the methods live in ASTReader/ASTWriter. Fixes rdar://72592937. Reviewed By: rjmccall Differential Revision: https://reviews.llvm.org/D94196
-
Craig Topper authored
[RISCV] Fix a few section number comments in RISCVInstrInfoVPseudos.td to match the V extension 1.0 draft spec. NFC The majority of the comments use the 1.0 draft spec section numbers.
-
Pedro Tammela authored
1 - Partial Statements The interpreter loop runs every line it receives, so partial Lua statements are not being handled properly. This is a problem for multiline breakpoint scripts since the interpreter loop, for this particular case, is just an abstraction to a partially parsed function body declaration. This patch addresses this issue and as a side effect improves the general Lua interpreter loop as well. It's now possible to write partial statements in the 'script' command. Example: (lldb) script >>> do ..> local a = 123 ..> print(a) ..> end 123 The technique implemented is the same as the one employed by Lua's own REPL implementation. Partial statements always errors out with the '<eof>' tag in the error message. 2 - CheckSyntax in Lua.h In order to support (1), we need an API for just checking the syntax of string buffers. 3 - Multiline scripted breakpoints Finally, with all the base features implemented this feature is straightforward. The interpreter loop behaves exactly the same, the difference is that it will aggregate all Lua statements into the body of the breakpoint function. An explicit 'quit' statement is needed to exit the interpreter loop. Example: (lldb) breakpoint command add -s lua Enter your Lua command(s). Type 'quit' to end. The commands are compiled as the body of the following Lua function function (frame, bp_loc, ...) end ..> print(456) ..> a = 123 ..> quit Differential Revision: https://reviews.llvm.org/D93481
-
Juneyoung Lee authored
The diff was reviewed at D93994
-
Daniel Hwang authored
Certain Fuchsia functions may return handles that are not owned by the current closure. This adds a check in order to determine when these handles are released. Differential Revision: https://reviews.llvm.org/D93868
-
Kit Barton authored
The PPCSubTarget variable has been replaced with the Subtarget variable. This removes the remaining instances of PPCSubTarget as they are no longer necessary.
-
Arthur O'Dwyer authored
This affects only vectors with weird/malicious allocators, the same corner case covered in D91708, but for `vector<bool>` this time. Also ADL-proof <__tree>, which affects only sets and maps with weird/malicious allocators where the ADL trap is in the *fancy pointer type*. Also drive-by _VSTD:: qualification in the guts of std::bind, std::packaged_task, std::condition_variable. Differential Revision: https://reviews.llvm.org/D93424
-
Jonas Devlieghere authored
Emit os_signposts when supported from LLDB's timer class. A vast amount of performance sensitive places in LLDB are already instrumented with the Timer class. By emitting signposts we can examine this information in Instruments. I recommend looking at Daniel's differential for why this is so powerful: https://reviews.llvm.org/D52954. Differential revision: https://reviews.llvm.org/D93657
-
Jonas Devlieghere authored
Make llvm::Signpost more generic by untying from llvm::Timer. This allows signposts to be used in a different context. My motivation for doing this is being able to use signposts in LLDB. Differential revision: https://reviews.llvm.org/D93655
-
Thomas Raoux authored
Support store to load forwarding and dead store transformations for transfer op on tensor. Differential Revision: https://reviews.llvm.org/D94148
-
Siva Chandra Reddy authored
Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D94198
-
River Riddle authored
This allows for singleton types without an explicit parser/printer to simply use the mnemonic as the assembly format, removing the need for these types to provide the parser/printer fields. Differential Revision: https://reviews.llvm.org/D94194
-
Amara Emerson authored
Differential Revision: https://reviews.llvm.org/D94197
-
Alina Sbirlea authored
Add support for mixed pre/post CFG views. Update usages of the MemorySSAUpdater to use the new DT API by requesting the DT updates to be done by the MSSAUpdater. Differential Revision: https://reviews.llvm.org/D93371
-
Hansang Bae authored
The Fortran interface is now in line with 5.1 specification. Differential Revision: https://reviews.llvm.org/D94042
-
Thomas Raoux authored
Add same hoisting transformation existing for transfer ops on buffers for transfer_ops on tensor. The logic is significantly different so this is done as a separate transformation and it is expect that user would know which transformation to use based on the flow. Differential Revision: https://reviews.llvm.org/D94115
-
River Riddle authored
This field is currently being used to mean "Fully resolved class name", which breaks the usage by TypeDefs. This revision prefixes the name with the dialect namespace when necessary. Differential Revision: https://reviews.llvm.org/D94192
-
River Riddle authored
Right now constraint/predicate traits/etc. use their "description" field as a one line human readable string. This breaks the current convention, by which a "description" may be multi-line. This revision renames the "description" field in these cases to "summary" which matches what the string is actually used as. This also unbreaks the use of TypeDefs(and eventually AttrDefs) in conjunction with existing type constraint facilities like `Optional`. Differential Revision: https://reviews.llvm.org/D94133
-
Tue Ly authored
Differential Revision: https://reviews.llvm.org/D94018
-
Shilei Tian authored
Wrong LLVM headers might be included if we don't set `include_directories` to a right place. This will cause a compilation error if LLVM is installed in system directories. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D93737
-
Shilei Tian authored
Currently all built libraries in OpenMP are anywhere if building along with LLVM. It is not an issue if we don't execute any test. However, almost all tests for `libomptarget` fails because in the lit configuration, we only set `<build_dir>/libomptarget` to `LD_LIBRARY_PATH` and `LIBRARY_PATH`. Since those libraries are everywhere, `clang` can no longer find `libomptarget.so` or those deviceRTLs anymore. In this patch, we set a unified path for all built libraries, no matter whether it is built along with LLVM or not. In this way, our lit configuration can work propoerly. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D93736
-
Michael Liao authored
- Need trimming before parsing major or minor version numbers. This's required due to the different line ending on Windows. - In addition, the integer conversion may fail due to invalid char. Return that parsing function return `true` when the parsing fails. Differential Revision: https://reviews.llvm.org/D93587
-
Thomas Raoux authored
Differential Revision: https://reviews.llvm.org/D93904
-
Yaxun (Sam) Liu authored
clang-offload-bundler is not only used by clang driver to bundle/unbundle files for offloading toolchains, but also used by out of tree tools to unbundle fat binaries generated by clang. It is important to be able to list the bundle IDs in a bundled file so that the bundles can be extracted. This patch adds an option -list to list bundle ID's in a bundled file. Each bundle ID is separated by new line. If the file is not a bundled file nothing is output and returns 0. Differential Revision: https://reviews.llvm.org/D92954
-