Revision tags: llvmorg-21-init |
|
#
e14962a3 |
| 27-Jan-2025 |
Jeremy Morse <jeremy.morse@sony.com> |
[NFC][DebugInfo] Use iterators for instruction insertion in more places (#124291)
As part of the "RemoveDIs" work to eliminate debug intrinsics, we're
replacing methods that use Instruction*'s as p
[NFC][DebugInfo] Use iterators for instruction insertion in more places (#124291)
As part of the "RemoveDIs" work to eliminate debug intrinsics, we're
replacing methods that use Instruction*'s as positions with iterators.
This patch changes some more complex call-sites, those crossing file
boundaries and where I've had to perform some minor rewrites.
show more ...
|
Revision tags: llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3 |
|
#
85c17e40 |
| 17-Oct-2024 |
Jay Foad <jay.foad@amd.com> |
[LLVM] Make more use of IRBuilder::CreateIntrinsic. NFC. (#112706)
Convert many instances of:
Fn = Intrinsic::getOrInsertDeclaration(...);
CreateCall(Fn, ...)
to the equivalent CreateIntrinsi
[LLVM] Make more use of IRBuilder::CreateIntrinsic. NFC. (#112706)
Convert many instances of:
Fn = Intrinsic::getOrInsertDeclaration(...);
CreateCall(Fn, ...)
to the equivalent CreateIntrinsic call.
show more ...
|
Revision tags: llvmorg-19.1.2 |
|
#
fa789dff |
| 11-Oct-2024 |
Rahul Joshi <rjoshi@nvidia.com> |
[NFC] Rename `Intrinsic::getDeclaration` to `getOrInsertDeclaration` (#111752)
Rename the function to reflect its correct behavior and to be consistent
with `Module::getOrInsertFunction`. This is a
[NFC] Rename `Intrinsic::getDeclaration` to `getOrInsertDeclaration` (#111752)
Rename the function to reflect its correct behavior and to be consistent
with `Module::getOrInsertFunction`. This is also in preparation of
adding a new `Intrinsic::getDeclaration` that will have behavior similar
to `Module::getFunction` (i.e, just lookup, no creation).
show more ...
|
Revision tags: llvmorg-19.1.1 |
|
#
e03f4271 |
| 19-Sep-2024 |
Jay Foad <jay.foad@amd.com> |
[LLVM] Use {} instead of std::nullopt to initialize empty ArrayRef (#109133)
It is almost always simpler to use {} instead of std::nullopt to
initialize an empty ArrayRef. This patch changes all oc
[LLVM] Use {} instead of std::nullopt to initialize empty ArrayRef (#109133)
It is almost always simpler to use {} instead of std::nullopt to
initialize an empty ArrayRef. This patch changes all occurrences I could
find in LLVM itself. In future the ArrayRef(std::nullopt_t) constructor
could be deprecated or removed.
show more ...
|
Revision tags: llvmorg-19.1.0, llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3 |
|
#
0da2ba81 |
| 17-Aug-2024 |
Daniil Fukalov <dfukalov@gmail.com> |
[NFC] Cleanup in ADT and Analysis headers. (#104484)
Remove unused directly includes and forward declarations in ADT and
Analysis headers.
|
Revision tags: llvmorg-19.1.0-rc2 |
|
#
7df9da7d |
| 04-Aug-2024 |
Kazu Hirata <kazu@google.com> |
[llvm] Construct SmallVector with ArrayRef (NFC) (#101872)
|
Revision tags: llvmorg-19.1.0-rc1, llvmorg-20-init |
|
#
9df71d76 |
| 28-Jun-2024 |
Nikita Popov <npopov@redhat.com> |
[IR] Add getDataLayout() helpers to Function and GlobalValue (#96919)
Similar to https://github.com/llvm/llvm-project/pull/96902, this adds
`getDataLayout()` helpers to Function and GlobalValue, re
[IR] Add getDataLayout() helpers to Function and GlobalValue (#96919)
Similar to https://github.com/llvm/llvm-project/pull/96902, this adds
`getDataLayout()` helpers to Function and GlobalValue, replacing the
current `getParent()->getDataLayout()` pattern.
show more ...
|
#
d75f9dd1 |
| 24-Jun-2024 |
Stephen Tozer <stephen.tozer@sony.com> |
Revert "[IR][NFC] Update IRBuilder to use InsertPosition (#96497)"
Reverts the above commit, as it updates a common header function and did not update all callsites:
https://lab.llvm.org/buildbot
Revert "[IR][NFC] Update IRBuilder to use InsertPosition (#96497)"
Reverts the above commit, as it updates a common header function and did not update all callsites:
https://lab.llvm.org/buildbot/#/builders/29/builds/382
This reverts commit 6481dc57612671ebe77fe9c34214fba94e1b3b27.
show more ...
|
#
6481dc57 |
| 24-Jun-2024 |
Stephen Tozer <stephen.tozer@sony.com> |
[IR][NFC] Update IRBuilder to use InsertPosition (#96497)
Uses the new InsertPosition class (added in #94226) to simplify some of
the IRBuilder interface, and removes the need to pass a BasicBlock
[IR][NFC] Update IRBuilder to use InsertPosition (#96497)
Uses the new InsertPosition class (added in #94226) to simplify some of
the IRBuilder interface, and removes the need to pass a BasicBlock
alongside a BasicBlock::iterator, using the fact that we can now get the
parent basic block from the iterator even if it points to the sentinel.
This patch removes the BasicBlock argument from each constructor or call
to setInsertPoint.
This has no functional effect, but later on as we look to remove the
`Instruction *InsertBefore` argument from instruction-creation
(discussed
[here](https://discourse.llvm.org/t/psa-instruction-constructors-changing-to-iterator-only-insertion/77845)),
this will simplify the process by allowing us to deprecate the
InsertPosition constructor directly and catch all the cases where we use
instructions rather than iterators.
show more ...
|
Revision tags: llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2 |
|
#
fab2bb8b |
| 11-Mar-2024 |
Justin Lebar <justin.lebar@gmail.com> |
Add llvm::min/max_element and use it in llvm/ and mlir/ directories. (#84678)
For some reason this was missing from STLExtras.
|
Revision tags: llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init |
|
#
6c2fbc3a |
| 12-Jan-2024 |
Nikita Popov <npopov@redhat.com> |
[IRBuilder] Add CreatePtrAdd() method (NFC) (#77582)
This abstracts over the common pattern of creating a gep with i8 element
type.
|
Revision tags: llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2 |
|
#
e5026f01 |
| 22-Sep-2023 |
Youngsuk Kim <youngsuk.kim@hpe.com> |
[llvm] Remove uses of Type::getPointerTo() (NFC)
Partial progress towards removing in-tree uses of `getPointerTo()`, by employing the following options:
* Drop the call entirely if the sole purpose
[llvm] Remove uses of Type::getPointerTo() (NFC)
Partial progress towards removing in-tree uses of `getPointerTo()`, by employing the following options:
* Drop the call entirely if the sole purpose of it is to support a no-op bitcast (remove the no-op bitcast as well).
* Replace with `PointerType::get()`/`PointerType::getUnqual()`
This is a NFC cleanup effort.
Reviewed By: barannikov88
Differential Revision: https://reviews.llvm.org/D155232
show more ...
|
Revision tags: llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4, llvmorg-17.0.0-rc3, llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1, llvmorg-18-init |
|
#
f8ffd67d |
| 14-Jul-2023 |
Nikita Popov <npopov@redhat.com> |
[HexagonVectorCombine] Remove use of getNonOpaquePointerElementType() (NFC)
|
#
4351060a |
| 16-Jun-2023 |
Krzysztof Parzyszek <kparzysz@quicinc.com> |
[Hexagon] Properly combine overlapping stores in HVC
|
Revision tags: llvmorg-16.0.6, llvmorg-16.0.5 |
|
#
97b5cc21 |
| 26-May-2023 |
Nikita Popov <npopov@redhat.com> |
[ValueTracking] Remove ORE argument (NFC-ish)
The ORE argument threaded through ValueTracking is used only in a single, untested place. It is also essentially never passed: The only places that do s
[ValueTracking] Remove ORE argument (NFC-ish)
The ORE argument threaded through ValueTracking is used only in a single, untested place. It is also essentially never passed: The only places that do so have been added very recently as part of the KnownFPClass migration, which is vanishingly unlikely to hit this code path. Remove this effectively dead argument.
Differential Revision: https://reviews.llvm.org/D151562
show more ...
|
#
96b59b4f |
| 26-May-2023 |
Krzysztof Parzyszek <kparzysz@quicinc.com> |
[Hexagon] Use scalar evolution to calculate pointer difference in HVC
|
#
b9c78deb |
| 23-May-2023 |
Krzysztof Parzyszek <kparzysz@quicinc.com> |
[Hexagon] Add more debugging options and dumps to HVC
|
#
538c1416 |
| 23-May-2023 |
Krzysztof Parzyszek <kparzysz@quicinc.com> |
[Hexagon] Remap all instructions generated for aligned address/value in HVC
Only the last instruction was remapped before.
|
#
34c7f2ac |
| 23-May-2023 |
Krzysztof Parzyszek <kparzysz@quicinc.com> |
[Hexagon] Fix safety check in moving instructions in HVC::AlignVectors
A prior commit accidentally affected a safety check allowing aliased memory instructions to be moved across one another.
|
#
f575b7f5 |
| 19-May-2023 |
Krzysztof Parzyszek <kparzysz@quicinc.com> |
[Hexagon] Clone dependencies instead of moving in HVC
Loads can share dependencies, and moving them for each load separately can end up placing them in a wrong location. There was already a check fo
[Hexagon] Clone dependencies instead of moving in HVC
Loads can share dependencies, and moving them for each load separately can end up placing them in a wrong location. There was already a check for that, but it wasn't correct. Instead of trying to find the right location for all moved instructions at once, create clones for each individual load.
show more ...
|
#
94a9f6c5 |
| 19-May-2023 |
Krzysztof Parzyszek <kparzysz@quicinc.com> |
[Hexagon] Add more comments to HexagonVectorCombine.cpp, NFC
|
Revision tags: llvmorg-16.0.4 |
|
#
7ce3d922 |
| 16-May-2023 |
Krzysztof Parzyszek <kparzysz@quicinc.com> |
[Hexagon] Improve safety of aligned loads/stores in HVC
Generate a predicated variant of the last load/store in a group to avoid accessing OOB memory. Disable vector alignment on HVX prior to v62, s
[Hexagon] Improve safety of aligned loads/stores in HVC
Generate a predicated variant of the last load/store in a group to avoid accessing OOB memory. Disable vector alignment on HVX prior to v62, since v62 does not have predicated vector loads.
show more ...
|
#
5b10fa6e |
| 17-May-2023 |
Kazu Hirata <kazu@google.com> |
[Hexagon] Remove unused declaration getLocation
The unused declaration was introduced without a corresponding function definition in:
commit f5d07a05bbd41f827ccfa1bed7bfdfbab2be85dc Author: Krz
[Hexagon] Remove unused declaration getLocation
The unused declaration was introduced without a corresponding function definition in:
commit f5d07a05bbd41f827ccfa1bed7bfdfbab2be85dc Author: Krzysztof Parzyszek <kparzysz@quicinc.com> Date: Mon Sep 7 14:26:48 2020 -0500
show more ...
|
#
a4a71df8 |
| 09-May-2023 |
Kazu Hirata <kazu@google.com> |
[Hexagon] Remove unused struct AlignVectors::Segment
|
Revision tags: llvmorg-16.0.3, llvmorg-16.0.2, llvmorg-16.0.1 |
|
#
0eac3c50 |
| 17-Mar-2023 |
Krzysztof Parzyszek <kparzysz@quicinc.com> |
[Hexagon] Ensure proper ordering of instructions in HVC::AlignVectors
The shuffle reduction creates a dependency chain. Make sure that the inputs to the next instruction are placed ahead of the inst
[Hexagon] Ensure proper ordering of instructions in HVC::AlignVectors
The shuffle reduction creates a dependency chain. Make sure that the inputs to the next instruction are placed ahead of the instruction itself.
show more ...
|