- Feb 11, 2022
-
-
Adrian Prantl authored
This reverts commit 547a667c.
-
LLVM GN Syncbot authored
-
David Blaikie authored
-
Shilei Tian authored
`bug49334.cpp` directly uses `!=` to compare two floating point values, which is almost wrong. Reviewed By: jhuber6 Differential Revision: https://reviews.llvm.org/D119485
-
Yuanfang Chen authored
This relands commit b380a31d. Restrict the tests to Windows only since the flag symbol hash depends on system-dependent path normalization.
-
Shilei Tian authored
Currently we have a hard team limit, which is set to 65536. It says no matter whether the device can support more teams, or users set more teams, as long as it is larger than that hard limit, the final number to launch the kernel will always be that hard limit. It is way less than the actual hardware limit. For example, my workstation has GTX2080, and the hardware limit of grid size is 2147483647, which is exactly the largest number a `int32_t` can represent. There is no limitation mentioned in the spec. This patch simply removes it. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D119313
-
YASHASVI KHATAVKAR authored
-
David Blaikie authored
Lambda names aren't entirely canonical (as demonstrated by the cross-project-test added here) at the moment (we should fix that for a bunch of reasons) - even if the template referencing them is non-simplified, other names referencing /that/ template can't be simplified either because type units might cause a different template to be picked up that would conflict with the expected name. (other than for roundtripping precision, it'd be OK to simplify types that reference types that reference lambdas - but best be consistent between the roundtrip/verify mode and the actual simplified template names mode)
-
LLVM GN Syncbot authored
-
Stanislav Mekhanoshin authored
Use same MSSA clobbering checks as in the AMDGPUAnnotateUniformValues. Kernel argument promotion needs exactly the same information so factor out utility function isClobberedInFunction. Differential Revision: https://reviews.llvm.org/D119480
-
LLVM GN Syncbot authored
-
Roman Lebedev authored
For booleans, xor/add/sub are interchangeable: https://alive2.llvm.org/ce/z/ziav3d But for larger bitwidths, we'll need sub, so change it now.
-
Roman Lebedev authored
We can analyse that `select`, and after that the test no longer does what it's supposed to.
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Nikolas Klauser authored
Reviewed By: ldionne, Quuxplusone, Mordante, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D119443
-
Yuanfang Chen authored
This reverts commit bd3a1de6. Break bots: https://luci-milo.appspot.com/ui/p/fuchsia/builders/toolchain.ci/clang-windows-x64/b8822587673277278177/overview
-
Ye Luo authored
Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D119478
-
Reid Kleckner authored
This came up on a funny vendor-provided version string that didn't have a standard dotted quad of numbers.
-
Shubham Sandeep Rastogi authored
This change adds support for dsymutil to be able to dump out the new swift5 reflection sections called swift5_proto and swift5_protos. The test is also updated to check for this. Differential Revision: https://reviews.llvm.org/D119310
-
Douglas Yung authored
The test sometimes fails on Windows due to a warning emitted by bash about not being able to find the /tmp directory causing this test to randomly fail. This update makes the test more flexible to account for this possibility and should hopefully make it more reliable. Reviewed By: probinson Differential Revision: https://reviews.llvm.org/D118691
-
Shubham Sandeep Rastogi authored
Build Failure: https://green.lab.llvm.org/green/job/lldb-cmake/41267/ Differential Revision: https://reviews.llvm.org/D119473
-
Aart Bik authored
Reviewed By: bixia Differential Revision: https://reviews.llvm.org/D119465
-
Teresa Johnson authored
Minor efficiency fix. There is no reason to perform the same set lookup repeatedly in the inner loop as it is invariant there. Differential Revision: https://reviews.llvm.org/D119474
-
Aaron Ballman authored
A significant number of our tests in C accidentally use functions without prototypes. This patch converts the function signatures to have a prototype for the situations where the test is not specific to K&R C declarations. e.g., void func(); becomes void func(void); This is the seventh batch of tests being updated (there are a significant number of other tests left to be updated).
-
David Green authored
-
Simon Pilgrim authored
Remove superfluous variable initialization, the variable is assigned by both paths immediately afterward.
-
River Riddle authored
These functions allow for defining pattern fragments usable within the `match` and `rewrite` sections of a pattern. The main structure of Constraints and Rewrites functions are the same, and are similar to functions in other languages; they contain a signature (i.e. name, argument list, result list) and a body: ```pdll // Constraint that takes a value as an input, and produces a value: Constraint Cst(arg: Value) -> Value { ... } // Constraint that returns multiple values: Constraint Cst() -> (result1: Value, result2: ValueRange); ``` When returning multiple results, each result can be optionally be named (the result of a Constraint/Rewrite in the case of multiple results is a tuple). These body of a Constraint/Rewrite functions can be specified in several ways: * Externally In this case we are importing an external function (registered by the user outside of PDLL): ```pdll Constraint Foo(op: Op); Rewrite Bar(); ``` * In PDLL (using PDLL constructs) In this case, the body is defined using PDLL constructs: ```pdll Rewrite BuildFooOp() { // The result type of the Rewrite is inferred from the return. return op<my_dialect.foo>; } // Constraints/Rewrites can also implement a lambda/expression // body for simple one line bodies. Rewrite BuildFooOp() => op<my_dialect.foo>; ``` * In PDLL (using a native/C++ code block) In this case the body is specified using a C++(or potentially other language at some point) code block. When building PDLL in AOT mode this will generate a native constraint/rewrite and register it with the PDL bytecode. ```pdll Rewrite BuildFooOp() -> Op<my_dialect.foo> [{ return rewriter.create<my_dialect::FooOp>(...); }]; ``` Differential Revision: https://reviews.llvm.org/D115836 -
River Riddle authored
This allows for defining simple patterns in a single line. The lambda body of a Pattern expects a single operation rewrite statement: ``` Pattern => replace op<my_dialect.foo>(operands: ValueRange) with operands; ``` Differential Revision: https://reviews.llvm.org/D115835
-
Martin Storsjö authored
This brings the mingw build back to zero build warnings as it was at some earlier time. Differential Revision: https://reviews.llvm.org/D119134
-
Simon Pilgrim authored
The pointer is dereferenced immediately, so assert the cast is correct instead of returning nullptr
-
Simon Pilgrim authored
-
Nikolas Klauser authored
Reviewed By: ldionne, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D119329
-
Philip Reames authored
This exploits the immutability introduced in d334fec1.
-
Huihui Zhang authored
Test simplified: test/CodeGen/AArch64/stp-opt-with-renaming-undef-assert.mir
-
YASHASVI KHATAVKAR authored
-
YASHASVI KHATAVKAR authored
-
YASHASVI KHATAVKAR authored
-