- Nov 10, 2020
-
-
Duncan P. N. Exon Smith authored
Follows through on c4cb3b10's FIXME dating back to 2015. Anyone using this should migrate to InMemoryFileSystem and/or ClangTool::mapVirtualFile. Differential Revision: https://reviews.llvm.org/D90885
-
Arthur Eubanks authored
It is not used in the optimization pipeline and can be ported later.
-
Nikita Popov authored
Test behavior before/at/after the GEP decomposition limit.
-
Arthur Eubanks authored
-
Snehasish Kumar authored
Extend the existing basic block sections debug info test to check for the correctness of the generated line table. Differential Revision: https://reviews.llvm.org/D90989
-
Kirill Bobyrev authored
-
Fangrui Song authored
if config.target_triple contains 'windows-msvc', %llc_dwarf has a -mtriple: llc.exe: for the --mtriple option: may only occur zero or one times! -
Rahul Joshi authored
-
António Afonso authored
This reverts commit 265a38fb.
-
Stephen Kelly authored
-
Stephen Kelly authored
My editor keeps on changing this and I keep having to revert it.
-
Stephen Kelly authored
Make it possible to inspect the matched node, possibly to ignore it. Differential Revision: https://reviews.llvm.org/D90983
-
Rahul Joshi authored
- Change syntax for FuncOp to be `func <visibility>? @name` instead of printing the visibility in the attribute dictionary. - Since printFunctionLikeOp() and parseFunctionLikeOp() are also used by other operations, make the "inline visibility" an opt-in feature. - Updated unit test to use and check the new syntax. Differential Revision: https://reviews.llvm.org/D90859
-
Eric Astor authored
Support the named relational operators (EQ, LT, etc.). Reviewed By: thakis Differential Revision: https://reviews.llvm.org/D89733
-
Rahul Joshi authored
- Convert `global_memref` to LLVM::GlobalOp. - Convert `get_global_memref` to a memref descriptor with a pointer to the first element of the global stashed in it. - Extend unit test and a mlir-cpu-runner test to validate the generated LLVM IR. Differential Revision: https://reviews.llvm.org/D90803
-
David Zarzycki authored
Add a TLI hook to allow SelectionDAG to fine tune the conversion of CTPOP to a chain of "x & (x - 1)" when CTPOP isn't legal. A subsequent patch will attempt to fine tune the X86 code gen. Reviewed By: spatel Differential Revision: https://reviews.llvm.org/D89952
-
Aleksandr Platonov authored
There is not reason to check `std::make_unique<...>(..)` return value, but `clangd::clang::loadIndex()` returns `nullptr` if an index file could not be loaded (e.g. incorrect version). Reviewed By: kadircet Differential Revision: https://reviews.llvm.org/D91049
-
Fangrui Song authored
MachO has different symbol naming and thus on a MachO platform this test has a different behavior without a triple.
-
Francesco Petrogalli authored
For example if the sign extension is only used in for TBZ, and the value is used elsewhere with a zero extension, this can eliminate a sign extension. Reviewed By: samparker Differential Revision: https://reviews.llvm.org/D90606
-
Peter Steinfeld authored
The title says it all.
-
Eric Astor authored
Support MASM's REPEAT, FOR, FORC, and WHILE macro-like directives. Also adds support for macro argument substitution inside quoted strings, and additional testing for macro directives. Reviewed By: thakis Differential Revision: https://reviews.llvm.org/D89732
-
Fangrui Song authored
ld64 uses them to create compact unwind from DWARF call frame information. When the code was ported to libunwind, the variables were not deleted. Reviewed By: #libunwind, compnerd Differential Revision: https://reviews.llvm.org/D91039
-
David Green authored
This was accidentally using the same name for two different variables in the same line. Whilst it seems to work for some compilers, others have trouble and it is probably not a fantastic idea.
-
Craig Topper authored
Add additional isel patterns for ctzw/clzw instructions. Differential Revision: https://reviews.llvm.org/D91040
-
Craig Topper authored
Differential Revision: https://reviews.llvm.org/D91024
-
Craig Topper authored
This produces better code for sign extend to i64 on RV32 target. Differential Revision: https://reviews.llvm.org/D91023
-
Fangrui Song authored
I don't have a Windows machine. Hope someone can test why its InputSection is still larger.
-
Craig Topper authored
This uses the shiftop PatFrags to handle the masked shift amount and unmasked shift amount cases. That also checks XLen as part of the masked amount check so we don't need separate RV32 and RV64 patterns. Differential Revision: https://reviews.llvm.org/D91016
-
Fangrui Song authored
On LP64/Windows platforms, this decreases sizeof(InputSection) from 208 (larger on Windows) to 184. For a large executable (7.6GiB, inputSections.size()=5105122, make<InputSection> called 4835760 times), this decreases cgroup memory.max_usage_in_bytes by 0.6% Reviewed By: grimar Differential Revision: https://reviews.llvm.org/D91018
-
Simon Pilgrim authored
-
Simon Pilgrim authored
Just use default CHECK
-
Paul Robinson authored
FastISel generates instructions to materialize "local values" at the top of a block, in the hope that these values could be reused within the block. To reduce spills and restores, FastISel treats calls as sub-block boundaries, flushing the "local value map" at each call. This patch treats the mem* intrinsics as if they were calls, because at O0 generally they are calls. Eliminating these spills/restores is actually better for debugging (especially a "continue at this line" command), code size, stack frame size, and maybe even performance. Differential Revision: https://reviews.llvm.org/D90877
-
Rahul Joshi authored
- When a block is not empty and does not end with a terminator, flag the error on the last operation of the block instead of the start of the block. Differential Revision: https://reviews.llvm.org/D90988
-
Fangrui Song authored
Reviewed By: tmsriram Differential Revision: https://reviews.llvm.org/D90815
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Simon Pilgrim authored
Just use default CHECK
-
António Afonso authored
This reverts commit df30bc01.
-
Nicolas Vasilache authored
This revision adds support for bufferization by using a mix of `tensor_load`, `subview`, `linalg.copy` and `tensor_to_memref`.
-
Jonas Devlieghere authored
During active replay, the ::Initialize call is replayed like any other SB API call and the return value is ignored. Since we can't intercept this, we terminate here before the uninitialized debugger inevitably crashes. Differential revision: https://reviews.llvm.org/D90987
-