Author: djg
Date: Tue Sep 25 13:23:27 2007
New Revision: 42308
URL: http://llvm.org/viewvc/llvm-project?rev=42308view=rev
Log:
When both x/y and x%y are needed (x and y both scalar integer), compute
both results with a single div or idiv instruction. This uses new X86ISD
nodes for DIV and IDIV
Yay! :-)
On Sep 25, 2007, at 11:23 AM, Dan Gohman wrote:
Author: djg
Date: Tue Sep 25 13:23:27 2007
New Revision: 42308
URL: http://llvm.org/viewvc/llvm-project?rev=42308view=rev
Log:
When both x/y and x%y are needed (x and y both scalar integer),
compute
both results with a single
URL: http://llvm.org/viewvc/llvm-project?rev=42308view=rev
Log:
When both x/y and x%y are needed (x and y both scalar integer),
compute
both results with a single div or idiv instruction. This uses new
X86ISD
nodes for DIV and IDIV which are introduced during the legalize phase
so that