diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-05-04 23:40:14 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-05-04 23:40:14 +0000 |
commit | 260c4a946636f0e789266eba1b65937d0d41e29f (patch) | |
tree | dd2563eaffd68b018bc462b4b19fced4bdd09c9a | |
parent | 27a761d5bde0255ae6fbe71c5239544db81e2d63 (diff) | |
download | bcm5719-llvm-260c4a946636f0e789266eba1b65937d0d41e29f.tar.gz bcm5719-llvm-260c4a946636f0e789266eba1b65937d0d41e29f.zip |
Document the automatic alias printing of InstAliases.
llvm-svn: 130889
-rw-r--r-- | llvm/docs/CodeGenerator.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/docs/CodeGenerator.html b/llvm/docs/CodeGenerator.html index 91855633239..60f42607f07 100644 --- a/llvm/docs/CodeGenerator.html +++ b/llvm/docs/CodeGenerator.html @@ -2019,6 +2019,11 @@ def : InstAlias<"fcomi $reg", (COM_FIr RST:$reg)>; <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> |