Skip to content

Commit be496a1

Browse files
committed
Add TODO to merge code for AANoAliasAddrSpace and AAAddressSpace
1 parent d2f98f8 commit be496a1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

llvm/lib/Transforms/IPO/AttributorAttributes.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13127,6 +13127,12 @@ struct AAAddressSpaceCallSiteArgument final : AAAddressSpaceImpl {
1312713127

1312813128
/// ------------------------ No Alias Address Space ---------------------------
1312913129
// This attribute assumes flat address space can alias all other address space
13130+
13131+
// TODO: this is similar to AAAddressSpace, most of the code should be merged.
13132+
// But merging it created failing cased on gateway test that cannot be
13133+
// reproduced locally. So should open a seperated PR to hande the merge of
13134+
// AANoAliasAddrSpace and AAAddressSpace attribute
13135+
1313013136
namespace {
1313113137
struct AANoAliasAddrSpaceImpl : public AANoAliasAddrSpace {
1313213138
AANoAliasAddrSpaceImpl(const IRPosition &IRP, Attributor &A)

0 commit comments

Comments
 (0)