- Dec 13, 2022
-
-
Nicolas Vasilache authored
This fixes an issue where rank-reducing + fusion would not interop properly. Differential Revision: https://reviews.llvm.org/D139844
-
Felipe de Azevedo Piovezan authored
Apply the same strategy from D139217 to loop debug locations. Differential Revision: https://reviews.llvm.org/D139851
-
Felipe de Azevedo Piovezan authored
When a dbg.label is moved into a new function, its corresponding scope should be preserved, with the exception of the subprogram at the end of the scope chain, which should now be the subprogram of the destination function. See D139671. Differential Revision: https://reviews.llvm.org/D139849
-
Felipe de Azevedo Piovezan authored
dbg.labels that were inlined from other functions should have their scope preserved upon outlining for the same reasons described in D139669.
-
Haojian Wu authored
-
Tom Eccles authored
There seems not be any crtfastmath.o on powerpc. See https://reviews.llvm.org/D138675
-
Krzysztof Drewniak authored
The freeze builder did not assign the result of creating the freeze operation to $res, which meant that when subsequent translations (such as a sext) tried to use that result or query its type, mlir-translate would crash. This fixes the issue and adds a test for it. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D139574
-
Jakub Kuderski authored
To not introduce 64-bit types that may be difficult to handle for some targets. Reviewed By: rsuderman, antiagainst Differential Revision: https://reviews.llvm.org/D139777
-
Nikita Popov authored
Try to fix failure reported in https://reviews.llvm.org/rG9466b49171dc#1154213 by making the match more specific, as there are multiple dbg.declares that could be matched.
-
Kazu Hirata authored
We use LLVM_HAVE_TFLITE as the key to enable the mlgo work these days, and LLVM_HAVE_TF_API is defined whenever LLVM_HAVE_TF_API is defined. I'm posting this patch because it's purely mechanical. I'll post a follow-up patch to remove LLVM_HAVE_TF_API in non-C++ files, and that will not be as mechanical as this one. Differential Revision: https://reviews.llvm.org/D139863
-
Kazu Hirata authored
We use LLVM_HAVE_TFLITE as the key to enable the MLGO bits. We do not use the "else" clause. Differential Revision: https://reviews.llvm.org/D139860
-
Paul Robinson authored
Also add 'system-zos' as a lit feature and use it where needed. Part of the project to eliminate special handling for triples in lit expressions. Differential Revision: https://reviews.llvm.org/D139444
-
Kirill Stoimenov authored
Reviewed By: kda Differential Revision: https://reviews.llvm.org/D139727
-
Shoaib Meenai authored
We were previously ignoring weak externals during these searches (which are used for the entry point, exports, and subsystem inference), which differed from link.exe behavior. It also meant that we could get different behavior when linking an object file directly vs. packaging it into a static library, because static library symbol name directories include weak externals. Reviewed By: mstorsjo, yozhu Differential Revision: https://reviews.llvm.org/D139764
-
Nico Weber authored
-
Arthur Eubanks authored
This factors out the check from various callers. Reviewed By: Michael137 Differential Revision: https://reviews.llvm.org/D139649
-
Keith Smiley authored
Based on the discussion in https://reviews.llvm.org/D130221 and https://reviews.llvm.org/D139223 Differential Revision: https://reviews.llvm.org/D139347
-
Jordan Rupprecht authored
In general, the source tree is not assumed to be writeable, so modifying `%s` does not work for all CI systems. Instead of touching `%s`, copy it to a writeable dir using `%t`, and touch it there. Actually, `dr0xx.c` isn't really needed at all, so just create a new `dep.c` file in the build tree. This was recently added in cb088e8c, fixed in 1481fcf7, and fixed again in d16c5901.
-
Paul Robinson authored
Missed these on the first pass. Part of the project to eliminate special handling for triples in lit expressions.
-
Ye Luo authored
Differential Revision: https://reviews.llvm.org/D139856
-
Doru Bercea authored
-
Roman Lebedev authored
From https://reviews.llvm.org/rG46db90cc71d1#1154128
-
bixia1 authored
Add printMemref for complex data types and index type. Add printMemref for 1d type beyond f32. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D139475
-
Ellis Hoag authored
When merging profiles with multiple threads, the `mergeWriterContexts()` function is used to merge profile data between writers. This must be in sync with `loadInput()` which merges profiles to a single writer. This diff merges the profile kind correctly in `mergeWriterContexts()` to fix a subtle bug. Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D139755
-
Siva Chandra Reddy authored
For the bazel build, we also build all source files with -fvisibility=hidden. Reviewed By: gchatelet Differential Revision: https://reviews.llvm.org/D139678
-
Philip Reames authored
For reductions, we need to put the start value into a source vector. For fractional LMULs, we can perform the operation at the original LMUL. For LMUL > 1, we eventually want to use a scalar insert, but that's outside the scope of this patch. Differential Revision: https://reviews.llvm.org/D139747
-
Jay Foad authored
This only affects the order of implicit operands in some MIR tests. Differential Revision: https://reviews.llvm.org/D139829
-
Steven Wu authored
Add declaration for NoneType in BitcodeConvenience.h.
-
Nikita Popov authored
-
Bjorn Pettersson authored
Just some minor cleanups given that `opt -passname` syntax is dead for the new pass manager driver.
-
Kazu Hirata authored
Differential Revision: https://reviews.llvm.org/D139773
-
Guillaume Chatelet authored
Differential Revision: https://reviews.llvm.org/D139836
-
Vladislav Dzhidzhoev authored
Reimplemented SelectionDAG code for GlobalISel. Fixes https://github.com/llvm/llvm-project/issues/54079 Differential Revision: https://reviews.llvm.org/D130903
-
Kazu Hirata authored
This patch fixes: clang/lib/CodeGen/CGOpenMPRuntime.cpp:6098:8: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
-
Nikita Popov authored
These were tests where update_cc_test_checks.py was rerun after the conversion.
-
Nikita Popov authored
These were all tests where no manual fixup was required.
-
Paul Robinson authored
The test is `UNSUPPORTED: system-linux` so the XFAIL for linux is redundant. Part of the project to eliminate special handling for triples in lit expressions. Differential Revision: https://reviews.llvm.org/D139734
-
- Dec 12, 2022
-
-
Jakub Kuderski authored
Using `arith.mului_extended` makes it much simpler to emulate wide integer multiplication. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D139776
-
Sanjay Patel authored
This replaces patches that tried to convert related patterns to shuffles (D138872, D138873, D138874 - reverted/abandoned) but caused codegen problems and were questionable as a canonicalization because an insertelement is a simpler op than a shuffle. This detects a larger pattern -- insert-of-insert -- and replaces with another insert, so this hopefully does not cause any problems. As noted by TODO items in the code and tests, this could go a lot further. But this is enough to reduce the motivating test from issue #17113. Example proofs: https://alive2.llvm.org/ce/z/NnUv3a I drafted a version of this for AggressiveInstCombine, but it seems that would uncover yet another phase ordering gap. If we do generalize this to handle the full range of potential patterns, that may be worth looking at again. Differential Revision: https://reviews.llvm.org/D139668
-