- Aug 16, 2023
-
-
Daniel Chen authored
-
Joseph Huber authored
Summray: I didn't catch this test because I don't build with MLIR.
-
Joseph Huber authored
Summary: We implement round by implicitly converting these floating point values. Sometimes this emits warnings that we should silence by making these explicit casts.
-
Joseph Huber authored
Summary: These new globals should use protected visibility. Visibility like this helps certain checks on AMDGPU architecture and LTO.
-
Fangrui Song authored
clang<11 intended to use a GCC 4.2 compatible format but that turned out to make some mistakes. After instrumentation side format changes, c8b082a3 kept supporting the legacy format, originally intended for 1 or 2 major releases. Remove an obsoleted comment as GCC 12 uses length==12 for GCOV_TAG_FUNCTION in .gcda files.
-
Jonas Devlieghere authored
Address Alex's post commit review feedback from D158000.
-
Jonas Devlieghere authored
These functions have been NO-OPs since 2014 (44d93782). Remove them and deprecate the corresponding functions in SBDebugger. Differential revision: https://reviews.llvm.org/D158000
-
Timo Stripf authored
Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D157681
-
Dave Lee authored
-
Dave Lee authored
As well as a couple other minor docstring corrections.
-
Hanhan Wang authored
Differential Revision: https://reviews.llvm.org/D157927
-
Mark de Wever authored
With the underlying bug fixed the work-around should no longer be needed. Reviewed By: #libc, philnik Differential Revision: https://reviews.llvm.org/D157779
-
Dhruv Chawla authored
While std::lower_bound takes logarithmic time (relative to the length of the array) to execute, DenseMap gives better performance characteristics as it traverses few (if any) elements when collisions do occur, especially when the number of elements are known in advance. This gives a speedup of 0.24%: https://llvm-compile-time-tracker.com/compare.php?from=ac00cca3d9c6c3e9118ebbe47aa5b3ba1ee7404f&to=7f3d4c8ce8cee3a236a2328e46b2a8374672b46e&stat=instructions:u Differential Revision: https://reviews.llvm.org/D157951
-
Louis Dionne authored
-
David Spickett authored
When 7a28b0b6 added this it wanted "llvm-objdump: warning: <...>". On our Windows on Arm bot you get: c:\users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\bin\llvm-objdump.exe: warning: Seems unlikely the warning would come from anywhere else and if it does, this test isn't the one to be catching that. So I've shortened the checks to start at "warning: ".
-
Valentin Clement authored
This patch lower simple acc routine directive with no clauses and no name inside function/subroutine. Patch to handle name and clauses will follow up. Patch to add attribute to the original routine will follow as well. Reviewed By: razvanlupusoru Differential Revision: https://reviews.llvm.org/D157919
-
Valentin Clement authored
This patches adds the acc.declare_action attrbites on post allocate operation and pre/post deallocate operations. Reviewed By: razvanlupusoru Differential Revision: https://reviews.llvm.org/D157915
-
Louis Dionne authored
Marking them as soft_fail still causes the CI to show up as failed on Phabricator patches.
-
Craig Topper authored
Reviewed By: reames Differential Revision: https://reviews.llvm.org/D157950
-
Craig Topper authored
Reviewed By: reames Differential Revision: https://reviews.llvm.org/D157823
-
Timo Stripf authored
Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D157687
-
Craig Topper authored
Reviewed By: reames Differential Revision: https://reviews.llvm.org/D157819
-
Joseph Huber authored
The port count and index into the ports was originally written as a 64-bit number. This was with an abundance of caution, however it's highly unlikely that any configuration will excede a 32-bit number as most machines will require something in the low-thousands. Because GPUs are functionally 32-bit in many of their operations this costs us some extra time and registers to do the 64-bit operations. Doing this saves us about four registers in most tests. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D157980
-
Aaron Ballman authored
This addresses further post-review feedback (https://reviews.llvm.org/D155081) with commit 67732699 by rearranging some of the text into separate bullets and adding a clarifying statement.
-
- Aug 15, 2023
-
-
Timo Stripf authored
Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D157705
-
ruturaj4 authored
Differential Revision: https://reviews.llvm.org/D152770
-
Simon Pilgrim authored
Move the sra(shl(x,c1),c1) -> sign_extend_inreg(x) fold inside SimplifyDemandedBits so we can recognize hidden splats with DemandedElts masks. Because the c1 shift amount has multiple uses, hidden splats won't get simplified to a splat constant buildvector - meaning the existing fold in DAGCombiner::visitSRA can't fire as it won't see a uniform shift amount. I also needed to add TLI preferSextInRegOfTruncate hook to help keep truncate(sign_extend_inreg(x)) vector patterns on X86 so we can use PACKSS more efficiently. Differential Revision: https://reviews.llvm.org/D157972
-
Aaron Ballman authored
Switch to using anonymous links to avoid the duplicate explicit target errors found by: https://lab.llvm.org/buildbot/#/builders/30/builds/38838
-
Joe Nash authored
These cmp patterns were using the pre-GFX11 pseudo instruction, and so failed to compile. Reviewed By: foad Differential Revision: https://reviews.llvm.org/D157912
-
Aaron Ballman authored
67732699 changed the developer policy but dropped a documentation link telling folks to add a link to the Phabricator page where review occurred. This restores that link and wording, thanks to post-review feedback for catching the regression.
-
Hans Wennborg authored
Otherwise the mangledName field won't match.
-
Matt Arsenault authored
-
Matt Arsenault authored
Mirror of the previous log changes, OpenCL conformance doesn't like interpreting afn as ignore denormal handling but was previously hidden by flag dropping.
-
Matt Arsenault authored
OpenCL conformance didn't like interpreting afn as ignore the denormal handling. https://reviews.llvm.org/D157940
-
Matt Arsenault authored
Apparently afn doesn't allow you to drop the denormal handling according to OpenCL conformance. This was hidden by losing the flags during the library linking process. Fast log is still broken and needs more work. https://reviews.llvm.org/D157936
-
Sean Fertile authored
This reverts commit 5e28d30f.
-
Sean Fertile authored
This reverts commit b37c7ed0.
-
Markus Böck authored
This is a follow-up to https://reviews.llvm.org/D156889 Downstream projects may have more complicated ops than the control flow ops upstream and therefore need a more powerful interface to support the lifting process. Use cases include the propagation of (inherent) metadata that was previously on the control flow ops and now needs to be lifted to structured control flow ops. Since the lifting process is inherently non-local in respect to the function-body, we require stronger guarantees from the interface. This patch therefore makes two changes to the interface: * Passes the terminator that is being replaced to `createStructuredBranchRegionTerminatorOp` * Adds as precondition to `createCFGSwitchOp` that its predecessors are already correctly established Asserts have been added to verify these were it makes sense and to correctly state intent. I have not added tests purely because testing preconditions like these is not really feasible (and incredibly specific). Differential Revision: https://reviews.llvm.org/D157981
-
Nikita Popov authored
Abort the transform instead of asserting. Fixes https://github.com/llvm/llvm-project/issues/64661.
-
Nikita Popov authored
Align operand bundles can contain non-power-of-two alignments, but LLVM otherwise does not support them. Bail out in that case instead of crashing. Fixes https://github.com/llvm/llvm-project/issues/64687.
-