- Aug 30, 2022
-
-
Benjamin Kramer authored
[bazel] Stop building PassGenTest.cpp.inc, it was removed in 13ed6958
-
Ting Wang authored
Add isNotDuplicable to CTRLoop pseudo instructions, to avoid other pass such as early-tailduplication break the loop structure by duplicating pseudo instructions. Reviewed By: shchenz Differential Revision: https://reviews.llvm.org/D132738
-
Pavel Samolysov authored
Also, some local variables were renamed in accordance with the code style as well as `std::tie` occurrences and `.first`/`.second` member uses were replaced with structure bindings. Differential Revision: https://reviews.llvm.org/D132806
-
Michele Scuttari authored
Being the generated code macro-guarded, the autogenerated `.cpp.inc` file has been merged into the `.h.inc` to reduce the build steps. Reviewed By: mehdi_amini, rriddle Differential Revision: https://reviews.llvm.org/D132884
-
Shoaib Meenai authored
Folding them will cause the unwinder to compute the incorrect function start address for the folded entries, which in turn will cause the personality function to interpret the LSDA incorrectly and break exception handling. You can verify the end-to-end flow by creating a simple C++ file: ``` void h(); int main() { h(); } ``` and then linking this file against the liblsda.dylib produced by the test case added here. Before this change, running the resulting program would result in a program termination with an uncaught exception. Afterwards, it works correctly. Reviewed By: #lld-macho, thevinster Differential Revision: https://reviews.llvm.org/D132845 -
Martin Storsjö authored
This fixes a warning when building for Windows: ../tools/lldb/source/Host/common/TCPSocket.cpp:297:16: warning: comparison of integers of different signs: 'int' and 'const NativeSocket' (aka 'const unsigned long long') [-Wsign-compare] if (sock != kInvalidSocketValue) { ~~~~ ^ ~~~~~~~~~~~~~~~~~~~ Differential Revision: https://reviews.llvm.org/D132841 -
Martin Storsjö authored
We don't need to check for `_LIBCPP_HAS_NO_LOCALIZATION` here; this was copied over by mistake from the test above (which does use locale.h). Differential Revision: https://reviews.llvm.org/D132834
-
Ting Wang authored
Reviewed By: shchenz Differential Revision: https://reviews.llvm.org/D132899
-
Xiang1 Zhang authored
-
Richard Smith authored
This can be set at configure time and might include other characters.
-
liqinweng authored
Reviewed By: reames Differential Revision: https://reviews.llvm.org/D132822
-
Vitaly Buka authored
-
jacquesguan authored
This patch supports the FP part of D111082. Differential Revision: https://reviews.llvm.org/D125750
-
wanglian authored
Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D132359
-
jacquesguan authored
Differential Revision: https://reviews.llvm.org/D126054
-
Vitaly Buka authored
-
Noah Shutty authored
These tests depend on `ThreadingHTTPServer` which was not introduced until python 3.7 so we might as well delete them to avoid issues. Most of their functionality is now covered by the llvm-debuginfod.test for the debuginfod server. Reviewed By: mysterymath Differential Revision: https://reviews.llvm.org/D119096
-
Vitaly Buka authored
-
Vitaly Buka authored
-
Joseph Huber authored
Previously, the tripcount was set by a push call. We moved away from this with the new interface that added the tripcount to the kernel arguments struct, but kept around the old interface for legacy purposes for the LLVM 15 release. This patch removes the support for the legacy method. This removes the support for the old method, but does not break backwards compatibility. This will result in applications using the old interface being slower when run on the device. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D132885
-
Vitaly Buka authored
-
Vitaly Buka authored
-
Argyrios Kyrtzidis authored
Differential Revision: https://reviews.llvm.org/D132801
-
Rob Suderman authored
Tosa.cast should fold on splats as it is trivial to fold the operation into the splatted value. Reviewed By: NatashaKnk Differential Revision: https://reviews.llvm.org/D132518
-
Rob Suderman authored
Folding reshapes of splats is trivial and should be canonicalized away. Reviewed By: NatashaKnk Differential Revision: https://reviews.llvm.org/D132760
-
Mehdi Amini authored
-
Mehdi Amini authored
-
Rob Suderman authored
Added folders for tosa.sub that handles bypassing divide by one, and a zero numerator. Reviewed By: NatashaKnk Differential Revision: https://reviews.llvm.org/D132693
-
Rong Xu authored
-
Rong Xu authored
Current implementation promotes a non-cold function in the SampleFDO profile into a hot function in the FDO profile. This is too aggressive. This patch promotes a hot functions in the SampleFDO profile into a hot function, and a warm function in SampleFDO into a warm function in FDO. Differential Revision: https://reviews.llvm.org/D132601
-
Rob Suderman authored
Added folders for tosa.sub that handles bypassing sub-zero, fold subtraction of two splat tensors. Reviewed By: NatashaKnk Differential Revision: https://reviews.llvm.org/D132678
-
Rob Suderman authored
Added folders for tosa.sub that handles bypassing sub-zero, fold subtraction of two splat tensors. Reviewed By: NatashaKnk Differential Revision: https://reviews.llvm.org/D132618
-
Rong Xu authored
This patch has the following changes: (1) Handling of internal linkage functions (static functions) Static functions in FDO have a prefix of source file name, while they do not have one in SampleFDO. Current implementation does not handle this and we are not updating the profile for static functions. This patch fixes this. (2) Handling of -funique-internal-linakge-symbols Again this is for the internal linkage functions. Option -funique-internal-linakge-symbols can now be applied to both FDO and SampleFDO compilation. When it is used, it demangles internal linkage function names and adds a hash value as the postfix. When both SampleFDO and FDO profiles use this option, or both not use this option, changes in (1) should handle this. Here we also handle when the SampleFDO profile using this option while FDO profile not using this option, or vice versa. There is one case where this patch won't work: If one of the profiles used mangled name and the other does not. For example, if the SampleFDO profile uses clang c-compiler and without -funique-internal-linakge-symbols, while the FDO profile uses -funique-internal-linakge-symbols. The SampleFDO profile contains unmangled names while the FDO profile contains mangled names. If both profiles use c++ compiler, this won't happen. We think this use case is rare and does not justify the effort to fix. Differential Revision: https://reviews.llvm.org/D132600
-
Jeff Niu authored
This overload just wraps a bitvector, and in most cases a bitvector could be used directly instead of a list. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D132896
-
Craig Topper authored
Don't require the AND has one use and don't depend on targetShrinkDemandedConstant turning C2 into 0xffffffff. Instead, check that the constant is 0xffffffff after replacing any bits that will be shifted out with 1s. Another way to fix this might be to prevent SimplifyDemandedBits from destroying the ANDI after type legalization using targetShrinkDemandedBits. That would prevent the CSE that created this mess. targetShrinkDemandedBits is currently only enable after legalize ops. Quick experiment shows we can't just change when it runs, we would need to try a different heuristic for post type legalization.
-
Craig Topper authored
-
Jeff Niu authored
This patch adds a an `eraseArguments` function that erases a subrange of a block's arguments. This can be used inplace of the terrible pattern ``` block->eraseArguments(llvm::to_vector(llvm::seq(...))); ``` Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D132890
-
Philip Reames authored
I keep finding myself needing to rule this out as a possible source of scalarization, so add debug output like we have for other instructions we decide to scalarize.
-
Julian Lettner authored
This reverts commit ce6989fd.
-
Lang Hames authored
Also delete trailing whitespace in lib/orc/CMakeLists.txt
-