[llvm-dev] Alignment parameter attributes

Doerfert, Johannes via llvm-dev llvm-dev at lists.llvm.org
Tue Jan 14 14:26:47 PST 2020


It might be interesting to add "pointee" attributes on pointers, that is attributes that are attached to the pointee, however that requires a larger discussion.

________________________________________
From: Greene, David <david.greene at hpe.com>
Sent: Tuesday, January 14, 2020 16:23
To: Doerfert, Johannes
Cc: llvm-dev at lists.llvm.org
Subject: Re: [llvm-dev] Alignment parameter attributes

"Doerfert, Johannes via llvm-dev" <llvm-dev at lists.llvm.org> writes:

> We could use a custom tag on `llvm.assume`, as an extension of
> https://reviews.llvm.org/D72475, but that is not yet implemented.

I had thought about using llvm.assume but was wondering if there is a
better way.  Tagging the loads with metadata really seems about the same
amount of effort.  Both require major surgery to code generation.

Thanks for your help Johannes!

                  -David


More information about the llvm-dev mailing list