[PATCH] D41430: [ARM] Armv8-R DFB instruction

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 20 05:33:25 PST 2017


sdesmalen added a comment.

In https://reviews.llvm.org/D41430#960723, @samparker wrote:

> @sdesmalen The architecture manual states that DFB is always the preferred disassembly output. So do you know if its possible to do an InstAlias which would produce the 'dfb' string when a dsb #12 is disassembled? Seems cleaner to me to remove the instruction definition, but I'm not sure thats its trivial.


You can set the EmitPriority to 1 (or higher) so that it is always printed when 'dsb #12' is disassembled. (See the comments in include/llvm/Target/Target.td for EmitPriority).


https://reviews.llvm.org/D41430





More information about the llvm-commits mailing list