[PATCH] D31197: [ARM] Add a driver option for +no-neg-immediates

Sanne Wouda via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 22 09:32:18 PDT 2017


sanwou01 added a comment.

Hi Renato,

To expand on the use-case for this option, this is aimed at developers who want their assembly code to correspond ***exactly*** to what is encoded in the object file.  An example of this is in the development of safety critical software.  The same goes for `-mimplicit-it=never` and friends, which is already an option for clang.

I hope that sufficiently clarifies the motivation for this option.

Thanks,
Sanne


https://reviews.llvm.org/D31197





More information about the llvm-commits mailing list