- Jan 22, 2022
-
-
Alex Brachet authored
The `printf` specifier `%n` is not supported on Android's libc and will soon be removed from Fuchsia's Reviewed By: enh Differential Revision: https://reviews.llvm.org/D117611
-
Daniel Thornburgh authored
Fixes test failures created by https://reviews.llvm.org/D117589. Reviewed By: zhuhan0 Differential Revision: https://reviews.llvm.org/D117915
-
Rob Suderman authored
Implement a taylor series approximation for atan and add an atan2 lowering that uses atan's appromation. This includes tests for edge cases and tests for each quadrant. Reviewed By: NatashaKnk Differential Revision: https://reviews.llvm.org/D115682
-
Amir Ayupov authored
Summary: Removed redundant includes with IWYU Test Plan: ninja bolt Reviewers: maksfb FBD32043568
-
Amir Ayupov authored
Summary: Break ties by selecting targets with lower addresses. Reviewers: maksfb FBD33677001
-
Amir Ayupov authored
Summary: Expand autos where it may lead to differences in the BOLT binary. Test Plan: NFC Reviewers: maksfb Reviewed By: maks FBD27673231
-
David Green authored
-
wren romano authored
Fixes https://bugs.llvm.org/show_bug.cgi?id=52314 aka https://github.com/llvm/llvm-project/issues/51656 Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D117597
-
Mark de Wever authored
This addresses the usage of `operator&` in `<unordered_map>`. (Note there are still more headers with the same issue.) Reviewed By: #libc, Quuxplusone, ldionne Differential Revision: https://reviews.llvm.org/D117393
-
Craig Topper authored
Instead of passing the both the SDNode* and 2 of the operands in two different orders, just pass the SDNode * and a bool to indicate which operand order to test. While there rename to combineMUL_VLToVWMUL_VL.
-
Valentin Clement authored
This reverts commit 68db0e25.
-
Alexander Belyaev authored
RFC: https://llvm.discourse.group/t/rfc-move-linalg-padtensorop-to-tensor-padop/5785 Differential Revision: https://reviews.llvm.org/D117892
-
Lei Zhang authored
Differential Revision: https://reviews.llvm.org/D115517
-
Craig Topper authored
-
Florian Mayer authored
Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D116711
-
eopXD authored
The `zve` extension specifies the maximum ELEN for both integer and floating point mode - defined by macro `__riscv_v_elen` and `__riscv_v_elen_fp`. This commit restricts the functions in riscv_vector.h by the zve defined macro-s. Change enum `RISCVExtension` to `RISCVPredefinedMacro` since now it contains not only extensions. Also added type alignment to it. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D112986
-
John Paul Adrian Glaubitz authored
Currently, clang defines the three macros __sparcv9, __sparcv9__ and __sparc_v9__ when targeting the V8+ baseline, i.e. using the V9 instruction set on a 32-bit target. Since neither gcc nor SolarisStudio define __sparcv9 and __sparcv9__ when targeting V8+, some existing code such as the glibc breaks when defining either of these two macros on a 32-bit target as they are used to detect a 64-bit target. Update the tests accordingly. Fixes PR49562. Reviewed By: jrtc27, MaskRay, hvdijk Differential Revision: https://reviews.llvm.org/D98574
-
Petr Hosek authored
This reverts commit 4af11272.
-
Valentin Clement authored
Fix failure from 68db0e25 on arm buildbot.
-
David Tenty authored
This reverts commit 8c9f62ea, which is causing build failures on the bots because it inadvertently changes the output directory of the compiler-rt libs when built as a runtime. Differential Revision: https://reviews.llvm.org/D117815
-
Marek Kurdej authored
-
Mark de Wever authored
This reverts commit cab96169. This breaks the CI.
-
Bixia Zheng authored
Add TACO tests to test/Integration/Dialect/SparseTensor/taco. Add the MLIR PyTACO implementation as tools under the directory. Reviewed By: aartbik, mehdi_amini Differential Revision: https://reviews.llvm.org/D117260
-
Mark de Wever authored
This addresses the usage of `operator&` in `<unordered_map>`. (Note there are still more headers with the same issue.) Reviewed By: #libc, Quuxplusone, ldionne Differential Revision: https://reviews.llvm.org/D117393
-
Jake Egan authored
Currently, Clang on AIX uses the system assembler to generate object files from assembly. The use of `-o -` results in a file named `-` instead of output to stdout. This patch uses a temporary object file instead. Reviewed By: DiggerLin, hubert.reinterpretcast Differential Revision: https://reviews.llvm.org/D117587
-
serge-sans-paille authored
-
- Jan 21, 2022
-
-
Chris Bieneman authored
This change moves EOL detection out of the clang::InclusionRewriter into llvm::StringRef so that it can be easily reused elsewhere. It also adds additional explicit test cases to verify the correct and expected return results. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D117626
-
Vy Nguyen authored
-
Nico Weber authored
-
serge-sans-paille authored
-
Nico Weber authored
-
Benjamin Kramer authored
That's undefined behavior. Found by -fsanitize=null.
-
Kristof Beyls authored
Differential Revision: https://reviews.llvm.org/D117872
-
Caroline Concatto authored
This patch checks in the masked gather when the first operand value is a splat and the mask is all one, because the masked gather is reloading the same value each time. This patch replaces this pattern of masked gather by a scalar load of the value and splats it in a vector. Differential Revision: https://reviews.llvm.org/D115726
-
serge-sans-paille authored
The tryLockFor method from raw_fd_sotreamis the sole user of that header, and it's not referenced in the mono repo. I still chose to keep it (may be useful for downstream user) but added a transient type that's forward declared to hold the duration parameter. Notable changes: - "llvm/Support/Duration.h" must be included in order to use tryLockFor. - "llvm/Support/raw_ostream.h" no longer includes <chrono> This sole change has an interesting impact on the number of processed line, as measured by: clang++ -E -Iinclude -I../llvm/include ../llvm/lib/Support/*.cpp -std=c++14 -fno-rtti -fno-exceptions | wc -l before: 7917500 after: 7835142 Discourse thread on the topic: https://llvm.discourse.group/t/include-what-you-use-include-cleanup/5831
-
Kai Nacke authored
Registering the passes enables use of -stop-before=/-stop-after options. Reviewed By: uweigand Differential Revision: https://reviews.llvm.org/D117823
-
serge-sans-paille authored
-
Jan Svoboda authored
LLVM Programmer’s Manual strongly discourages the use of `std::vector<bool>` and suggests `llvm::BitVector` as a possible replacement. Currently, some users of `std::vector<bool>` cannot switch to `llvm::BitVector` because it doesn't implement the `pop_back()` and `back()` functions. To enable easy transition of `std::vector<bool>` users, this patch implements `llvm::BitVector::pop_back()` and `llvm::BitVector::back()`. Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D117115
-
serge-sans-paille authored
-
serge-sans-paille authored
-