- Sep 19, 2020
-
-
Raul Tambre authored
objc_super is special and needs LookupPredefedObjCSuperType() called before performing builtin type comparisons. This fixes an error when compiling macOS headers. A test is added. Differential Revision: https://reviews.llvm.org/D87917
-
Arthur Eubanks authored
-
peter klausler authored
Hew more closely to the C17 standard; perform macro replacement of arguments to function-like macros unless they're being stringified or pasted. Test with a model "assert" macro idiom that exposed the problem. Differential Revision: https://reviews.llvm.org/D87650
-
Matt Arsenault authored
Since 6524a7a2, this would sometimes not emit the or to exec at the beginning of the block, where it really has to be. If there is an instruction that defines one of the source operands, split the block and turn the si_end_cf into a terminator. This avoids regressions when regalloc fast is switched to inserting reloads at the beginning of the block, instead of spills at the end of the block. In a future change, this should always split the block.
-
Amara Emerson authored
-
Utkarsh Saxena authored
Summary: [WIP] - Proposes a json format for representing Random Forest model. - Proposes a way to test the generated runtime using a test model. TODO: - Add generated source code snippet for easier review. - Fix unused label warning. - Figure out required using declarations for CATEGORICAL columns from Features.json. - Necessary Google3 internal modifications for blaze before landing. - Add documentation for format of the model. - Document more. Subscribers: mgorny, ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D83814
-
Sean Silva authored
I realized when using this that one can't get very good error messages without an additional message attribute. Differential Revision: https://reviews.llvm.org/D87875
-
mydeveloperday authored
-
mydeveloperday authored
Some Java style guides and IDEs group Java static imports after non-static imports. This patch allows clang-format to control the location of static imports. Patch by: @bc-lee Reviewed By: MyDeveloperDay, JakeMerdichAMD Differential Revision: https://reviews.llvm.org/D87201
-
JonChesterfield authored
-
Francis Visoiu Mistrih authored
EntrySU doesn't seem to be used at all when building the ScheduleDAG. Differential Revision: https://reviews.llvm.org/D87867
-
Jianzhou Zhao authored
-
Jon Roelofs authored
Differential Revision: https://reviews.llvm.org/D87164 Patch by Manuel Carrasco!
-
Andy Ly authored
constBuilderCall was not defined for TypeArrayAttr, resulting in tblgen not emitting the correct code when TypeArrayAttr is used with a default valued attribute. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D87907
-
- Sep 18, 2020
-
-
Simon Pilgrim authored
We already handle the the cases where we have a 'zero extended splat' build vector (a, 0, 0, 0, a, 0, 0, 0, ...) but were missing the case where the 'a' scalar was zero-extended as well - such as i64 -> vXi64 splat cases on 32-bit targets.
-
Matt Morehouse authored
Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D87849
-
ergawy authored
Roundtripping SPIR-V modules used the same MLIRContext object for both ways of the trip. This resulted in deserialization using a context object already containing Types constructed during serialization. This commit rectifies that by creating a new MLIRContext during deserialization. Reviewed By: mravishankar, antiagainst Differential Revision: https://reviews.llvm.org/D87692
-
Valentin Clement authored
Add missing operands to represent copyin with readonly modifier, copyout with zero modifier and create with zero modifier. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D87874
-
Valentin Clement authored
Following patch D87712, this patch switch AnyInteger for operands gangNum, gangStatic, workerNum, vectoreLength and tileOperands to Index and AnyInteger. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D87848
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
David Tenty authored
-
Adam Czachorowski authored
For style guides forbid "using" declarations for namespaces like "std". With this new config option, AddUsing can be selectively disabled on those. Differential Revision: https://reviews.llvm.org/D87775
-
Hanhan Wang authored
Reviewed By: mravishankar Differential Revision: https://reviews.llvm.org/D87887
-
Sanjay Patel authored
It would also be correct to return the variable operand in these cases, but eliminating a variable use is probably better for optimization.
-
Matt Arsenault authored
This was just inspecting the IR to begin with, and is useful to check in some places in the IR.
-
Matt Arsenault authored
-
Matt Arsenault authored
This reverts commit c3492a1a. I think this is the wrong strategy and wrong place to do this transform anyway. Also reverts follow up commit 7d593d0d.
-
Alexey Bataev authored
If some leaves have the same instructions to be vectorized, we may incorrectly evaluate the best order for the root node (it is built for the vector of instructions without repeated instructions and, thus, has less elements than the root node). In this case we just can not try to reorder the tree + we may calculate the wrong number of nodes that requre the same reordering. For example, if the root node is \<a+b, a+c, a+d, f+e\>, then the leaves are \<a, a, a, f\> and \<b, c, d, e\>. When we try to vectorize the first leaf, it will be shrink to \<a, b\>. If instructions in this leaf should be reordered, the best order will be \<1, 0\>. We need to extend this order for the root node. For the root node this order should look like \<3, 0, 1, 2\>. This patch allows extension of the orders of the nodes with the reused instructions. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D45263
-
Mirko Brkusanin authored
Alignment requirements for ds_read/write_b96/b128 for gfx9 and onward are now the same as for other GCN subtargets. This way we can avoid any unintentional use of these instructions on systems that do not support dword alignment and instead require natural alignment. This also makes 'SH_MEM_CONFIG.alignment_mode == STRICT' the default. Differential Revision: https://reviews.llvm.org/D87821
-
Sanjay Patel authored
-
Daniel Kiss authored
Unwinding leaf function is useful in cases when the backtrace finds a leaf function for example when it caused a signal. This patch also add the support for the DW_CFA_undefined because it marks the end of the frames. Ryan Prichard provided code for the tests. Reviewed By: #libunwind, mstorsjo Differential Revision: https://reviews.llvm.org/D83573 Reland with limit the test to the x86_64-linux target.
-
Xing GUO authored
This patch makes the include_directories, file_names and opcodes fields of the line table optional. This helps us simplify some tests. Reviewed By: jhenderson Differential Revision: https://reviews.llvm.org/D87878
-
Xing GUO authored
This patch makes checkers stricter so that we are able to avoid some potential problems earlier. Reviewed By: jhenderson, MaskRay Differential Revision: https://reviews.llvm.org/D87876
-
David Greene authored
Add the --include-generated-funcs option to update_cc_test_checks.py so that any functions created by the compiler that don't exist in the source will also be checked. We need to maintain the output order of generated function checks so that CHECK-LABEL works properly. To do so, maintain a list of functions output for each prefix in the order they are output. Use this list to output checks for generated functions in the proper order. Differential Revision: https://reviews.llvm.org/D83004
-
Max Kazantsev authored
-
Florian Hahn authored
The type of the map the SCEVParameterRewriter takes has been changed in 4635f605. Update the single use in polly to use SCEV* as type of the values.
-
Nicolas Vasilache authored
This revision allows representing a reduction at the level of linalg on tensors for named ops. When a structured op has a reduction and returns tensor(s), new conventions are added and documented. As an illustration, the syntax for a `linalg.matmul` writing into a buffer is: ``` linalg.matmul ins(%a, %b : memref<?x?xf32>, tensor<?x?xf32>) outs(%c : memref<?x?xf32>) ``` , whereas the syntax for a `linalg.matmul` returning a new tensor is: ``` %d = linalg.matmul ins(%a, %b : tensor<?x?xf32>, memref<?x?xf32>) init(%c : memref<?x?xf32>) -> tensor<?x?xf32> ``` Other parts of linalg will be extended accordingly to allow mixed buffer/tensor semantics in the presence of reductions. -
Florian Hahn authored
This switches to using DSE + MemorySSA by default again, after fixing the issues reported after the first commit. Notable fixes fc820063, a0017c2b. This reverts commit 3a59628f.
-
Daniel Kiss authored
This reverts commit 23bef7ee.
-