[PATCH] D10416: Use function attribute "arm-restrict-it"

Weiming Zhao via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 17:45:46 PDT 2015


weimingz added a comment.

Hi Akira,

Yes, the option "-mno-restrict-it " was added for GCC compatibility. I don't find a actual use case :)
So I think it should be OK to move to backend option only

In http://reviews.llvm.org/D10416#241967, @ahatanak wrote:

> Perhaps I should ask Weiming who committed the original patch to add these options just to be sure.
>
> Is there a use case in which an end user wants to disable restrict-it when targeting armv8?
>
> Would there be problems if we stopped exposing option -mno-restrict-it to the end user as suggested by Jim? I'm considering making changes to clang so that -mno-restrict-it has no effect on the backend code generation (end-users can use the option but it'll have no effect).





http://reviews.llvm.org/D10416





More information about the llvm-commits mailing list