[all-commits] [llvm/llvm-project] 0348ef: InferAddressSpaces: Improve handling of instructio...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Wed Aug 7 11:34:03 PDT 2024
Branch: refs/heads/users/arsenm/infer-address-spaces-improve-repeated-users
Home: https://github.com/llvm/llvm-project
Commit: 0348ef2d70df41b02ec3d2a3fc751e8e216523f5
https://github.com/llvm/llvm-project/commit/0348ef2d70df41b02ec3d2a3fc751e8e216523f5
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-08-07 (Wed, 07 Aug 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
M llvm/test/Transforms/InferAddressSpaces/AMDGPU/store-pointer-to-self.ll
Log Message:
-----------
InferAddressSpaces: Improve handling of instructions with multiple pointer uses
The use list iteration worked correctly for the load and store case. The atomic
instructions happen to have the pointer value as the last visited operand, but we
rejected the instruction as simple after the first encountered use.
Ignore the use list for the recognized load/store/atomic instructions, and just
try to directly replace the known pointer use.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list