- Mar 23, 2021
-
-
Craig Topper authored
It doesn't look like any instructions have ever been assigned to these classes. Reviewed By: HsiangKai Differential Revision: https://reviews.llvm.org/D99050
-
Nemanja Ivanovic authored
Add vec_gbb as a synonym for vec_vgbbd but for doubleword vectors.
-
Nemanja Ivanovic authored
Add vec_cvf as a synonym for vec_doublee/vec_floate.
-
Carl Ritson authored
This restores previous behaviour and is a step toward removing unbundling entirely. Reviewed By: foad, rampitec Differential Revision: https://reviews.llvm.org/D99061
-
Craig Topper authored
As discussed in D99009
-
Philip Reames authored
-
Richard Smith authored
* List inferred lists of imports in `#pragma clang __debug module_map`. * Add `#pragma clang __debug modules {all,visible,building}` to dump lists of known / visible module names or the building modules stack. -
Philip Reames authored
-
Vitaly Buka authored
Fails on Windows https://lab.llvm.org/buildbot/#/builders/127/builds/7999 and Android https://lab.llvm.org/buildbot/#/builders/77/builds/4839 This reverts commit bca0cf76.
-
Philip Reames authored
-
Jonas Devlieghere authored
Fix spurious warnings for missing symbols with thinLTO. The latter appends a unique suffix to avoid collisions for exported private symbols, resulting in dsymutil complaining it couldn't find the symbol in the object file. rdar://75434058 Differential revision: https://reviews.llvm.org/D99125
-
Philip Reames authored
While doing so, also split one monster test into individually named test functions.
-
Zakk Chen authored
1. Skip the temporary file 2. Test cc1 with -S to verify codegen work well. Add '-target-feature +m' because the backend requires it to calculate the vscaled size/offset. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D99082
-
Nemanja Ivanovic authored
Add vec_ctd which is similar to vec_ctf except the return type is vector double rather than vector float.
-
River Riddle authored
The "else" group of an optional element is a collection of elements that get parsed/printed when the anchor of the main element group is *not* present. This is useful when there is a special syntax when an element is not present. The new syntax for an optional element is shown below: ``` optional-group: `(` elements `)` (`:` `(` else-elements `)`)? `?` ``` An example of how this might be used is shown below: ```tablegen def FooOp : ... { let arguments = (ins UnitAttr:$foo); let assemblyFormat = "attr-dict (`foo_is_present` $foo^):(`foo_is_absent`)?"; } ``` would be formatted as such: ```mlir // When the `foo` attribute is present: foo.op foo_is_present // When the `foo` attribute is not present: foo.op foo_is_absent ``` Differential Revision: https://reviews.llvm.org/D99129 -
Sean Silva authored
This assertion can fire in the case of different contexts as well, which is not difficult to do from Python bindings, for example.
-
Gulfem Savrun Yeniceri authored
This reverts commit 78a65cd9 which caused buildbot failures.
-
Chris Lattner authored
This nicely aligns the naming with RewritePatternSet. This type isn't as widely used, but we keep a using declaration in to help with downstream consumption of this change. Differential Revision: https://reviews.llvm.org/D99131
-
Mehdi Amini authored
Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D99007
-
Amara Emerson authored
GlobalISel is currently not enabled when using -flto since the front-end -mvllm flags don't get passed through. This change fixes this for Darwin platforms. We have to do this in the driver because the code generator choice isn't embedded into the bitcode file. Differential Revision: https://reviews.llvm.org/D99126
-
Chris Lattner authored
Depends on D99127. Differential Revision: https://reviews.llvm.org/D99130
-
Chris Lattner authored
[PatternMatch] Big mechanical rename OwningRewritePatternList -> RewritePatternSet and insert -> add. NFC This doesn't change APIs, this just cleans up the many in-tree uses of these names to use the new preferred names. We'll keep the old names around for a couple weeks to help transitions. Differential Revision: https://reviews.llvm.org/D99127
-
Juneyoung Lee authored
This relands commit 99108c79 (D95026) which was reverted by 8d5a981a because the underlying problem (https://llvm.org/pr49495) is fixed.
-
Mehdi Amini authored
Revert "Revert "Revert "Revert "Revert "[lld-macho] Implement -dependency_info (partially - more opcodes needed)""""" This reverts commit 3c21166a. The build is broken (clang-8 host compiler): lld/MachO/DriverUtils.cpp:271:8: error: use of overloaded operator '<<' is ambiguous (with operand types 'llvm::raw_fd_ostream' and 'lld::macho::DependencyTracker::DepOpCode') os << opcode; ~~ ^ ~~~~~~
-
Vy Nguyen authored
Revert "Revert "Revert "Revert "[lld-macho] Implement -dependency_info (partially - more opcodes needed)"""" This reverts commit 9670d2e4. Second attemp to reland D98559. New changes: - inline functions removed from cpp file. - updated tests to use CHECK-DAG instead of CHECK-NEXT - fixed ambiguous "<<" operator by switching `char` to uint8_t
-
Chris Lattner authored
This maintains the old name to have minimal source impact on downstream codes, and does not do the huge mechanical patch. I expect the huge mechanical patch to land sometime this week, but we can keep around the old names for a couple weeks to reduce impact on downstream projects. Differential Revision: https://reviews.llvm.org/D99119
-
Gulfem Savrun Yeniceri authored
Add additonal hypens to match the title size that was introduced in 78a65cd9.
-
Stephen Kelly authored
The test code has lots of interesting locations which are not yet introspected, but those will come later: http://ce.steveire.com/z/3T90hR Differential Revision: https://reviews.llvm.org/D98775
-
Arthur O'Dwyer authored
Mostly, *don't* include <experimental/__config> from C++17 <any>, because that doesn't make any sense. I think it was just a cut-and-paste typo when this header moved from experimental/. Differential Revision: https://reviews.llvm.org/D99089
-
Nico Weber authored
-
Reid Kleckner authored
The only known reason why ICF should not merge otherwise identical sections with differing associated sections has to do with exception handling tables. It's not clear what ICF should do when there are other kinds of associated sections. In every other case when this has come up, debug info and CF guard metadata, we have opted to make ICF ignore the associated sections. For comparison, ELF doesn't do anything for comdat groups. Instead, .eh_frame is parsed to figure out if a section has an LSDA, and if so, ICF is disabled. Another issue is that the order of associated sections is not defined. We have had issues in the past (crbug.com/1144476) where changing the order of the .xdata/.pdata sections in the object file lead to large ICF slowdowns. To address these issues, I decided it would be best to explicitly consider only .pdata and .xdata sections during ICF. This makes it easy to ignore the object file order, and I think it makes the intention of the code clearer. I've also made the children() accessor return an empty list for associated sections. This mostly only affects ICF and GC. This was the behavior before I made this a linked list, so the behavior change should be good. This had positive effects on chrome.dll: more .xdata sections were merged that previously could not be merged because they were associated with distinct .pdata sections. Reviewed By: mstorsjo Differential Revision: https://reviews.llvm.org/D98993
-
Martin Storsjö authored
Simmilar to many other similar path handling tests, convert the test reference to preferred separators, and ifdef a few test references that use network root names. Additionally, generalize code for trimming off the root path for generating relative_cwd, and for skipping the root name element in count_path_elems. Rename one fictive path for consistency with the other test cases, and add a bunch of more test cases for completeness. Differential Revision: https://reviews.llvm.org/D98988
-
Gulfem Savrun Yeniceri authored
Lookup tables generate non PIC-friendly code, which requires dynamic relocation as described in: https://bugs.llvm.org/show_bug.cgi?id=45244 This patch adds a new pass that converts lookup tables to relative lookup tables to make them PIC-friendly. Differential Revision: https://reviews.llvm.org/D94355
-
Richard Smith authored
recursive.
-
Richard Smith authored
Differential Revision: https://reviews.llvm.org/D99117
-
Reid Kleckner authored
-
Peter Steinfeld authored
When writing tests for a previous problem, I ran across situations where we were not producing error messages for declarations of specific procedures of generic interfaces where every other compiler I tested (except nvfotran) did. I added a check to CheckExtantExternal() and renamed it since it now checks for erroneous extant symbols generally. I also removed a call to this function from processing for ENTRY statements, since it seemed unnecessary and its presence caused bogus error messages. I also added some tests for erroneous declarations where we were not producing error messages. Differential Revision: https://reviews.llvm.org/D99111
-
Roman Lebedev authored
-
Roman Lebedev authored
-