From 1ace67c5219679df46f5280708388b18f8f09847 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 15 Apr 2008 16:59:22 +0000 Subject: A couple minor fixes suggested by Matthijs Kooijman git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49729 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/tutorial/LangImpl4.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/tutorial/LangImpl4.html') diff --git a/docs/tutorial/LangImpl4.html b/docs/tutorial/LangImpl4.html index 999c194bf9..ddd609210d 100644 --- a/docs/tutorial/LangImpl4.html +++ b/docs/tutorial/LangImpl4.html @@ -123,7 +123,7 @@ entry:

In this case, the LHS and RHS of the multiplication are the same value. We'd really like to see this generate "tmp = x+3; result = tmp*tmp;" instead -of computing "x*3" twice.

+of computing "x+3" twice.

Unfortunately, no amount of local analysis will be able to detect and correct this. This requires two transformations: reassociation of expressions (to -- cgit v1.2.3