[PATCH] D20237: Use printAliasInstr in ARM target

Roger Ferrer Ibanez via llvm-commits llvm-commits at lists.llvm.org
Fri May 20 08:02:49 PDT 2016


rogfer01 added a comment.

Well, after checking the definition in `Target.td` it seems that `Emit` is the name of the parameter for the `InstAlias::EmitPriority` attribute. If it is zero, the alias is never printed, and if it is nonzero then the higher priority alias will be printed.

In the ARM target we are using it like a boolean (0 or 1, no priorities involved). So maybe we may want to use a name like `PrintAlias`. But this name will become awkward if the priority feature ends being used.

Suggestions?

Thanks,


http://reviews.llvm.org/D20237





More information about the llvm-commits mailing list