- Feb 08, 2021
-
-
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
-
Fangrui Song authored
-
Fangrui Song authored
-
Fangrui Song authored
-
Fangrui Song authored
GNU as does not sort local symbols. This has several advantages: * The .symtab order is roughly the symbol occurrence order. * The closest preceding STT_SECTION symbol is the definition of a local symbol. * The closest preceding STT_FILE symbol is the defining file of a local symbol, if there are multiple default-version .file directives. (Not implemented in MC.)
-
Florian Hahn authored
For unsigned compares, zext should be a no-op and we can add the extended value to the constraint system.
-
Florian Hahn authored
This patch updates some places where VectorLoopValueMap is accessed directly to instead go through VPTransformState. As we move towards managing created values exclusively in VPTransformState, this ensures the use always can fetch the correct value. This is in preparation for D92285, which switches to managing scalarized values through VPValues. In the future, the various fix* functions should be moved directly into the VPlan codegen stage. Reviewed By: gilr Differential Revision: https://reviews.llvm.org/D95757
-
Florian Hahn authored
Adds additional test cases with zexts, conditions that require temporary indices.
-