- Jul 03, 2021
-
-
Jinsong Ji authored
Add a flag so that target can choose to use AsmParser for parsing inline asm. And set the flag by default for AIX. -no-intergrated-as will override this default if specified explicitly. Reviewed By: #powerpc, shchenz Differential Revision: https://reviews.llvm.org/D105314
-
Jinsong Ji authored
Implement XCOFFMCAsmParser so that we can use MC to parse inline asm. The directives and storage mapping classes will be added later iteratively. Reviewed By: xgupta Differential Revision: https://reviews.llvm.org/D105259
-
David Green authored
-
- Jul 02, 2021
-
-
Gus Smith authored
To make TensorExp clearer, this change refactors the e0/e1 fields into a union: e0/e1 for a binary op tensor expression, and tensor_num for a tensor-kinded tensor expression. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D105303
-
Sam McCall authored
This reverts commit fff966b6. Seems I managed to delete a critical ! after running the tests :-\
-
Roman Lebedev authored
-
Sam McCall authored
This reverts commit 2f79acb7. Should no longer be needed after 26e1553a
-
Nicolas Vasilache authored
Differential Revision: https://reviews.llvm.org/D105335
-
Roman Lebedev authored
In the original review D87149 it was mentioned that this approach was tried, and it lead to infinite combine loops, but i'm not seeing anything like that now, neither in the `check-llvm`, nor on some codebases i tried. This is a recommit of d9d65527, which i immediately reverted because i have messed up something during branch switch, and 597ccc92 accidentally ended up being pushed, which was very much not the intention. Reviewed By: spatel Differential Revision: https://reviews.llvm.org/D105339
-
-
Roman Lebedev authored
Revert "[NFCI][InstCombine] visitUnreachableInst(): iteratively erase instructions leading to unreachable" This reverts commit d9d65527.
-
Roman Lebedev authored
In the original review D87149 it was mentioned that this approach was tried, and it lead to infinite combine loops, but i'm not seeing anything like that now, neither in the `check-llvm`, nor on some codebases i tried. Reviewed By: spatel Differential Revision: https://reviews.llvm.org/D105339
-
Roman Lebedev authored
-
Sam McCall authored
This reverts commit 50566947.
-
Sam McCall authored
BlockUntilIdle is supposed to return false if it fails. If an intermediate step fails to clear the queue, we shouldn't charge ahead and assert on the state of the queue.
-
Nico Weber authored
-
Simon Pilgrim authored
The SLM model is inconsistent about where it kept its 'unsupported' schedule classes - better to keep them close to similar classes. I'm not sure why some ymm classes are defined and others are unsupported though (but I haven't altered them) - the only SLM-like CPU supporting any ymm is KNL and that currently uses the HSW model.
-
Simon Pilgrim authored
-
Simon Pilgrim authored
Scalarization costs handling is a lot better now, and the hard coded costs were higher than the worse case numbers from the script in D103695
-
LLVM GN Syncbot authored
-
Nico Weber authored
This reverts commit 33a7b4d9. Breaks check-profile on macOS, see comments on https://reviews.llvm.org/D105176
-
Florian Hahn authored
This patch fixes a crash when the same load is used for both operands of a fuseable multiply.
-
Simon Pilgrim authored
Building on rG2a1ef878, fallback to attempting to match against legalized types like we do for SSE targets.
-
Michał Górny authored
Refactor SetCurrentThread() and SetCurrentThreadForRun() to reduce code duplication and simplify it. Both methods now call common SendSetCurrentThreadPacket() that implements the common protocol exchange part (the only variable is sending `Hg` vs `Hc`) and returns the selected TID. The logic is rewritten to use a StreamString instead of snprintf(). A side effect of the change is that thread-id sent is now zero-padded. However, this should not have practical impact on the server as both forms are equivalent. Differential Revision: https://reviews.llvm.org/D100459
-
Simon Pilgrim authored
Update v4i64 -> v4f32/v4f64 uitofp costs based on the worst case costs from the script in D103695. Fixes a few regressions before we start adding AVX costs for legalized types.
-
Alexey Bataev authored
The compiler should not ignore UndefValue when gathering the scalars, otherwise the resulting code may be less defined than the original one. Also, grouped scalars to insert them at first to reduce the analysis in further passes. Differential Revision: https://reviews.llvm.org/D105275
-
Alexandru Octavian Butiu authored
Fixes bugs [[ https://bugs.llvm.org/show_bug.cgi?id=50580 | 50580 ]] and [[ https://bugs.llvm.org/show_bug.cgi?id=49446 | 49446 ]] When compiling with -g "DBG_VALUE <reg>" instructions are added in the MIR, if such a instruction is inserted between instructions that use <reg> then MachineCopyPropagation invalidates <reg> , this causes some copies to not be propagated and causes differences in code generation (ex bugs 50580 and 49446 ). DBG_VALUE instructions should be ignored since they don't actually modify the register. Reviewed By: lkail Differential Revision: https://reviews.llvm.org/D104394
-
Alex Richardson authored
While this should not matter for most architectures (where the program address space is 0), it is important for CHERI (and therefore Arm Morello). We use address space 200 for all of our code pointers and without this change we assert in the SelectionDAG handling of BlockAddress nodes. It is also useful for AVR: previously programs targeting AVR that attempt to read their own machine code via a pointer to a label would instead read from RAM using a pointer relative to the the start of program flash. Reviewed By: dylanmckay, theraven Differential Revision: https://reviews.llvm.org/D48803
-
Adrian Kuegel authored
Differential Revision: https://reviews.llvm.org/D105337
-
Sven van Haastregt authored
Reported-by:Marco Cali <marco.cali@arm.com>
-
Florian Hahn authored
The custom copysign lowering already supports fp16. Use it. Reviewed By: dmgreen Differential Revision: https://reviews.llvm.org/D105277
-
Roman Lebedev authored
-
Michał Górny authored
-
Florian Hahn authored
If the store address does not dominate the matrix multiply, try to hoist address computation instructions without side-effects and/or memory reads before the multiply, to allow fusion. Reviewed By: thegameg Differential Revision: https://reviews.llvm.org/D105193
-
Roman Lebedev authored
This reverts commit 4facbf21. ``` ******************** FAIL: LLVM :: CodeGen/WebAssembly/funcref-call.ll (44466 of 44468) ******************** TEST 'LLVM :: CodeGen/WebAssembly/funcref-call.ll' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddirs/llvm-project/build-Clang12/bin/llc < /repositories/llvm-project/llvm/test/CodeGen/WebAssembly/funcref-call.ll --mtriple=wasm32-unknown-unknown -asm-verbose=false -mattr=+reference-types | /builddirs/llvm-project/build-Clang12/bin/FileCheck /repositories/llvm-project/llvm/test/CodeGen/WebAssembly/funcref-call.ll -- Exit Code: 2 Command Output (stderr): -- llc: /repositories/llvm-project/llvm/include/llvm/Support/LowLevelTypeImpl.h:44: static llvm::LLT llvm::LLT::scalar(unsigned int): Assertion `SizeInBits > 0 && "invalid scalar size"' failed. ```
-
Michał Górny authored
Support using the extended thread-id syntax with Hg packet to select a subprocess. This makes it possible to start providing support for running some of the debugger packets against another subprocesses. Differential Revision: https://reviews.llvm.org/D100261
-
Balázs Kéri authored
Reviewed By: martong Differential Revision: https://reviews.llvm.org/D102492
-
Sam McCall authored
For files directly under clangd/, -Iclang-tools-extra/clangd (and the equivalent for generated files) are not required, as CMake/the compiler puts these directories on the include path by default. However this means each subdirectory needs to include_directories(.. ${CMAKE_CURRENT_BINARY_DIR}/..) etc, and this proved annoying and error-prone to maintain and debug. Since include_directories is inherited by subdirectories, we just configure this explicitly at the top level instead. -
Paulo Matos authored
Reland of 31859f89. This change implements new DAG notes GLOBAL_GET/GLOBAL_SET, and lowering methods for load and stores of reference types from IR globals. Once the lowering creates the new nodes, tablegen pattern matches those and converts them to Wasm global.get/set. Differential Revision: https://reviews.llvm.org/D104797
-
Tobias Gysi authored
Introduce an integration test folder in the test/python subfolder and move the opsrun.py test into the newly created folder. The test verifies named operations end-to-end using both the yaml and the python path. Differential Revision: https://reviews.llvm.org/D105276
-