- Jun 26, 2022
-
-
Casey Carter authored
Implement `rebind`, the rebinding constructor, and rebind-compatible comparison operators. Differential Revision: https://reviews.llvm.org/D118279
-
Guillaume Chatelet authored
-
LLVM GN Syncbot authored
-
Corentin Jabot authored
Implements [[ https://wg21.link/p2071r1 | P2071 Named Universal Character Escapes ]] - as an extension in all language mode, the patch not warn in c++23 mode will be done later once this paper is plenary approved (in July). We add * A code generator that transforms `UnicodeData.txt` and `NameAliases.txt` to a space efficient data structure that can be queried in `O(NameLength)` * A set of functions in `Unicode.h` to query that data, including * A function to find an exact match of a given Unicode character name * A function to perform a loose (ignoring case, space, underscore, medial hyphen) matching * A function returning the best matching codepoint for a given string per edit distance * Support of `\N{}` escape sequences in String and character Literals, with loose and typos diagnostics/fixits * Support of `\N{}` as UCN with loose matching diagnostics/fixits. Loose matching is considered an error to match closely the semantics of P2071. The generated data contributes to 280kB of data to the binaries. `UnicodeData.txt` and `NameAliases.txt` are not committed to the repository in this patch, and regenerating the data is a manual process. Reviewed By: tahonermann Differential Revision: https://reviews.llvm.org/D123064
-
Kazu Hirata authored
This patch fixes: llvm-project/mlir/lib/Dialect/Linalg/Transforms/SplitReduction.cpp:300:26: error: comparison of integers of different signs: 'int64_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Werror,-Wsign-compare]
-
Jacques Pienaar authored
These were already pretty simple, so just switching to generated.
-
- Jun 25, 2022
-
-
Matt Arsenault authored
Avoids dropping CSE info analysis
-
Matt Arsenault authored
-
Matt Arsenault authored
These are mutually exclusive.
-
Arjun P authored
This paves the way for integer-exact projection, and for supporting non-division locals in subtraction, complement, and equality checks. Reviewed By: Groverkss Differential Revision: https://reviews.llvm.org/D127463
-
Michał Górny authored
Now preserving the non-standard behavior of returning "OK" response when there is no debugged process. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.llvm.org/D128152
-
sstwcw authored
Suggested by HazardyKnusperkeks in D126845. Reviewed By: HazardyKnusperkeks, owenpan Differential Revision: https://reviews.llvm.org/D126934
-
Rainer Orth authored
A new test `FAIL`s on Solaris: FAIL: AddressSanitizer-i386-sunos :: TestCases/global-location-nodebug.cpp (465 of 64279) FAIL: AddressSanitizer-i386-sunos-dynamic :: TestCases/global-location-nodebug.cpp (961 of 64279) The problem is the unconditional use of `-Wl,-S`: ld: fatal: dlopen() of support library (-lstdc++) failed with error: ld.so.1: ld: -lstdc++: open failed: No such file or directory `ld -S` has a completely different semantics compared to GNU `ld -S`/`--strip-debug`: specify a link-edit support library. To avoid this, I've chosen to `XFAIL` the test. Tested on `amd64-pc-solaris2.11`. Differential Revision: https://reviews.llvm.org/D128516
-
Michał Górny authored
This reverts part of commit 75757c86. It broke the following test: commands/target/auto-install-main-executable/TestAutoInstallMainExecutable.py I need more time to figure it out, so I'm reverting the code changes and marking the tests depending on them xfail.
-
Pavel Samolysov authored
-
Valentin Clement authored
This patch is part of the upstreaming effort from fir-dev branch. Reviewed By: PeteSteinfeld, vdonaldson Differential Revision: https://reviews.llvm.org/D128502 Co-authored-by:
V Donaldson <vdonaldson@nvidia.com>
-
Siva Chandra Reddy authored
-
Fangrui Song authored
-
Fangrui Song authored
[clang] Add back -fsanitize=array-bounds workaround for size-1 array after -fstrict-flex-arrays change Before C99 introduced flexible array member, common practice uses size-1 array to emulate FAM, e.g. https://github.com/python/cpython/issues/94250 As a result, -fsanitize=array-bounds instrumentation skipped such structures as a workaround (from 539e4a77). D126864 accidentally dropped the workaround. Add it back with tests.
-
Siva Chandra Reddy authored
-
Siva Chandra Reddy authored
-
Siva Chandra Reddy authored
It is set arbitrarily at 32 now. It can be adjusted as required in future.
-
Petr Hosek authored
This reverts commit 4164cfa5 since it broke the clang-x86_64-debian-fast builder: https://lab.llvm.org/buildbot/#/builders/109/builds/41339
-
Petr Hosek authored
We no longer support the use of LLVM_ENABLE_PROJECTS for libcxx and libcxxabi. We don't use paths to libcxx and libcxxabi in compiler-rt. Differential Revision: https://reviews.llvm.org/D126905
-
Shao-Ce SUN authored
Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D128495
-
Björn Schäpers authored
If there is a typeish token before the requires, it can't be a requires expression. Fixes https://github.com/llvm/llvm-project/issues/56176 Differential Revision: https://reviews.llvm.org/D128496
-
Petr Hosek authored
list PREPEND is only supported since CMake 3.15. Differential Revision: https://reviews.llvm.org/D128548
-
Min-Yih Hsu authored
Hot fix for -Wpessimizing-move build errors regarding MCA unit test harness introduced in 97579dcc.
-
Jonas Devlieghere authored
This patch adds a new flag to `log enable`, allowing the user to specify a custom log handler. In addition to the default (stream) handler, this allows using the circular log handler (which logs to a fixed size, in-memory circular buffer) as well as the system log handler (which logs to the operating system log). Differential revision: https://reviews.llvm.org/D128323
-
Mircea Trofin authored
We really just need to invalidate loop info and the dominator tree, in addition to the FunctionPropertiesInfo we were invalidating originally. Doing more adds unnecessary compile time overhead.
-
LLVM GN Syncbot authored
-
Nico Weber authored
The CMake code makes a number of imho strange choices. I pointed those out on https://reviews.llvm.org/D127083. The GN build mirrors the CMake build's choices for now.
-
lewuathe authored
Static loop unrolling does not change the operation type. We can rigorously make sure to use affine.store in the check. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D128237
-
Fabian Parzefall authored
The SplitFunctions pass does not distinguish between various splitting modes anymore. This change updates the command line interface to reflect this behavior by deprecating values passed to the --split-function option. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D128558
-
lewuathe authored
We can have validation test for quant.region having incompatible output spec. Reviewed By: stellaraccident Differential Revision: https://reviews.llvm.org/D128245
-
Philip Reames authored
The comments in the existing code appear to pre-exist the standardization of the +v extension. In particular, the specification *does* provide a bound on the maximum value VLEN can take. From what I can tell, the LMUL comment was simply a misunderstanding of what this API returns. This API returns the maximum value that vscale can take at runtime. This is used in the vectorizer to bound the largest scalable VF (e.g. LMUL in RISCV terms) which can be used without violating memory dependence. Differential Revision: https://reviews.llvm.org/D128538
-
Kirill Okhotnikov authored
-
Min-Yih Hsu authored
Hot fix for -Wmismatched-tags build errors regarding mca::SourceMgr changes introduced in 97579dcc.
-
Min-Yih Hsu authored
This patch introduces a new feature that allows InstrBuilder to reuse mca::Instruction recycled from IncrementalSourceMgr. This significantly reduces the memory footprint. Note that we're only recycling instructions that have static InstrDesc and no variadic operands. Differential Revision: https://reviews.llvm.org/D127084
-
Min-Yih Hsu authored
The new resumable mca::Pipeline capability introduced in this patch allows users to save the current state of pipeline and resume from the very checkpoint. It is better (but not require) to use with the new IncrementalSourceMgr, where users can add mca::Instruction incrementally rather than having a fixed number of instructions ahead-of-time. Note that we're using unit tests to test these new features. Because integrating them into the `llvm-mca` tool will make too many churns. Differential Revision: https://reviews.llvm.org/D127083
-