From: Bill Wendling Date: Wed, 4 May 2011 23:40:14 +0000 (+0000) Subject: Document the automatic alias printing of InstAliases. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3f58a513e19fba487cb8416492456e9ade7db32e;p=oota-llvm.git Document the automatic alias printing of InstAliases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130889 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/CodeGenerator.html b/docs/CodeGenerator.html index 91855633239..60f42607f07 100644 --- a/docs/CodeGenerator.html +++ b/docs/CodeGenerator.html @@ -2019,6 +2019,11 @@ def : InstAlias<"fcomi $reg", (COM_FIr RST:$reg)>;

Instruction aliases can also have a Requires clause to make them subtarget specific.

+

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.

+