- Feb 08, 2021
-
-
Jeremy Morse authored
Revert "DebugInfo: Temporarily work around -gsplit-dwarf + LTO .debug_gnu_pubnames regression after D94976" Backing out this workaround to focus on fixing whatever's wrong with .debug_gnu_pubnames, I'll revert the cause, (8998f584) in the next commit. This reverts commit 56fa34ae.
-
einvbri authored
This reverts commit e48f4447. thakis noticed false reports, so reverting this change for now until those can be sorted out. See https://reviews.llvm.org/D71714
-
Kadir Cetinkaya authored
Fixes https://github.com/clangd/clangd/issues/676. Differential Revision: https://reviews.llvm.org/D95935
-
Jan Svoboda authored
This reverts commit 6039f821 and reapplies bff6d9bb. Clang's Index/implicit-attrs.m test invokes c-index-test with -fobjc-arc. This flag is not compatible with -fobjc-runtime=gcc, which gets implied on Linux. The original commit uncovered this by correctly reporting issues when parsing -cc1 command line. This commit fixes the test to explicitly provide ObjectiveC runtime compatible with ARC.
-
Tatyana Krasnukha authored
There is a .categories file in the python_api directory that makes all nested tests belong to the category "pyapi". The decorator is unnecessary for these tests.
-
Tatyana Krasnukha authored
The test was timing out because of https://reviews.llvm.org/D92164, it should pass now.
-
Tatyana Krasnukha authored
-
Tatyana Krasnukha authored
The Debugger didn't take the Process's run lock, that causes deadlocks and races after applying https://reviews.llvm.org/D92164 revision. Since ExecutionContextRef does the same job correctly, Debugger::GetSelectedExecutionContext just can use it to build execution context upon the selected target.
-
Thomas Symalla authored
When running the tests on PowerPC and x86, the lit test GlobalISel/trunc.ll fails at the memory sanitize step. This seems to be due to wrong invalid logic (which matches even if it shouldn't) and likely missing variable initialisation." Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D95878
-
KareemErgawy-TomTom authored
Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D95937
-
David Green authored
Because we mark all operations as expand for v2f64, scalar_to_vector would end up lowering through a stack store/reload. But it is pretty simple to implement, only inserting a D reg into an undef vector. This helps clear up some inefficient codegen from soft calling conventions. Differential Revision: https://reviews.llvm.org/D96153
-
Dmitry Preobrazhensky authored
Fixed bug 49054. Differential Revision: https://reviews.llvm.org/D96117
-
Jeremy Morse authored
-
David Green authored
-
David Green authored
-
Dmitry Preobrazhensky authored
Differential Revision: https://reviews.llvm.org/D96118
-
Sander de Smalen authored
Clearly seems like this was a typo.
-
Sven van Haastregt authored
Do not enforce that the expression to obtain the QualType for an OpenCL type starts with an ASTContext. This adds the required flexibility for handling the remaining missing argument types such as enums. Differential Revision: https://reviews.llvm.org/D96050
-
Muhammad Omair Javaid authored
This patch fixes regression in symbol-binding.test due to change in symbol order.
-
Jeremy Morse authored
In the LLVM-IR for this test, the inlined argument "b" in the "a" function is optimized out on certain architectures, not on others. This hasn't been reported as a test failure since 93faeecd and ff2073a5 because we would create a variable that looks like this: DW_TAG_formal_parameter DW_AT_abstract_origin With no further information (and no location). With D95617 however, we stop emitting such variables. Prior to landing D95617: make this test stricter by checking that the variable mentioned above has a location. We have to accept that on certain architectures this goes missing, so add those to the XFail list. I've run a few experiments, and right now it looks likely only powerpc64 still drops the variable location.
-
Fraser Cormack authored
This patch adds support for both the fadd reduction intrinsic, in both the ordered and unordered modes. The fmin and fmax intrinsics are not currently supported due to a discrepancy between the LLVM semantics and the RVV ISA behaviour with regards to signaling NaNs. This behaviour is likely fixed in version 2.3 of the RISC-V F/D/Q extension, but until then the intrinsics can be left unsupported. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D95870
-
David Sherwood authored
A simple clean-up to remove dead code. Differential Revision: https://reviews.llvm.org/D95934
-
Tres Popp authored
This reverts commit 511dd4f4 along with a couple fixes. Original message: Now the context is the first, rather than the last input. This better matches the rest of the infrastructure and makes it easier to move these types to being declaratively specified. Phabricator: https://reviews.llvm.org/D96111
-
Simon Pilgrim authored
Fixes TableGen parser errors reported by D95874 due to incompatible types being used on multiclass templates. Differential Revision: https://reviews.llvm.org/D96205
-
Jan Svoboda authored
This reverts commit bff6d9bb The change causes failure of Clang's Index/implicit-attrs.m test.
-
Jan Svoboda authored
-
Muhammad Omair Javaid authored
Native register descriptions in LLDB specify lldb register numbers in value_regs and invalidate_regs lists. These register numbers may not match with Process gdb-remote register numbers which are generated by native process after counting all registers in its register sets. It was coincidentally not causing any problems as we never came across a native target with dynamically changing register sets and register numbers generated by counter matched with LLDB native register numbers. This came up while testing target AArch64 SVE which can choose register sets based on underlying hardware. This patch fixes this behavior and always tries to use remote register numbers while reading/writing registers over gdb-remote protocol. Reviewed By: labath Differential Revision: https://reviews.llvm.org/D77043
-
Muhammad Omair Javaid authored
TestExprsChar.py was enabled on Arm as it passes on apple silicon but still fails on Arm/Linux.
-
Jan Svoboda authored
This patch correctly reports success/failure of `ParseLangArgs`. Besides being consistent with other `Parse` functions, this is required to make round-tripping of `LangOptions` work. Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D95792
-
Raphael Isemann authored
These headers can be in a Clang module like the rest. This also fixes the modules build that is currently struggling with these headers being textually included in several other modules.
-
Jan Svoboda authored
`CompilerInvocation::CreateFromArgs` doesn't always report command line parsing failures through the return value. Sometimes, errors are only reported via diagnostics. Some clients like `c-index-test` only check the return value and don't check the state of `DiagnosticsEngine`. If we were to start returning the correct return value from `CreateFromArgs`, this index test starts to fail, because it specifies `-std=c++11` for a C input, which is invalid. This patch fixes that issue by adding forgotten `-x c++` argument. Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D95879
-
David Green authored
This adds another tablegen fold that converts an i16 odd-lane-insert of an even-lane-extract into a VINS. We extract the existing f32 value from the destination register and VINS the new value into it. The rest of the backend then is able to optimize the INSERT_SUBREG / COPY_TO_REGCLASS / EXTRACT_SUBREG. Differential Revision: https://reviews.llvm.org/D95456
-
Jan Svoboda authored
This patch implements generation of remaining preprocessor options and tests it by performing parse-generate-parse round trip. Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D95366
-
Tres Popp authored
Now the context is the first, rather than the last input. This better matches the rest of the infrastructure and makes it easier to move these types to being declaratively specified. Differential Revision: https://reviews.llvm.org/D96111
-
Jan Svoboda authored
This patch implements generation of remaining analyzer options and tests it by performing parse-generate-parse round trip. Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D95369
-
Djordje Todorovic authored
This patch tries to improve memory-read from core files (in order to improve disassembly functionality). I am using RHEL 7.7 (linux kernel 3.10) and for a lot of cases, I was not able to disassemble some functions from backtrace when debugging crashes from core files. It outputs some dummy code. The cause of the problem was the fact we are returning all the zeros from ProcessElfCore::ReadMemory() that is being called within Disassembler::ParseInstructions() and it disassembles some dummy opcodes from the buffer returned. Therefore, we are removing zero bytes filling (padding) completely. Differential Revision: https://reviews.llvm.org/D93939
-
Vladislav Vinogradov authored
This will allow to use `NativeOpTrait` and Operations declared outside of `mlir` namespace. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D96128
-
Max Kazantsev authored
-
Daniel Hwang authored
clang static analysis reports can be generated in html, plist, or sarif format. This updates scan-build-py to be able to specify SARIF as the desired output format, as previously it only support plist and html formats. Differential Revision: https://reviews.llvm.org/D94251
-