forked from OSchip/llvm-project
Document the automatic alias printing of InstAliases.
llvm-svn: 130889
This commit is contained in:
parent
27a761d5bd
commit
260c4a9466
|
@ -2019,6 +2019,11 @@ def : InstAlias<"fcomi $reg", (COM_FIr RST:$reg)>;
|
||||||
<p>Instruction aliases can also have a Requires clause to make them
|
<p>Instruction aliases can also have a Requires clause to make them
|
||||||
subtarget specific.</p>
|
subtarget specific.</p>
|
||||||
|
|
||||||
|
<p>If the back-end supports it, the instruction printer can automatically emit
|
||||||
|
the alias rather than what's being aliased. It typically leads to better,
|
||||||
|
more readable code. If it's better to print out what's being aliased, then
|
||||||
|
pass a '0' as the third parameter to the InstAlias definition.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue