[llvm-commits] [llvm] r130889 - /llvm/trunk/docs/CodeGenerator.html
Bill Wendling
isanbard at gmail.com
Wed May 4 16:40:14 PDT 2011
Author: void
Date: Wed May 4 18:40:14 2011
New Revision: 130889
URL: http://llvm.org/viewvc/llvm-project?rev=130889&view=rev
Log:
Document the automatic alias printing of InstAliases.
Modified:
llvm/trunk/docs/CodeGenerator.html
Modified: llvm/trunk/docs/CodeGenerator.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CodeGenerator.html?rev=130889&r1=130888&r2=130889&view=diff
==============================================================================
--- llvm/trunk/docs/CodeGenerator.html (original)
+++ llvm/trunk/docs/CodeGenerator.html Wed May 4 18:40:14 2011
@@ -2019,6 +2019,11 @@
<p>Instruction aliases can also have a Requires clause to make them
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>
More information about the llvm-commits
mailing list