aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-01-17 06:48:02 +0000
committerChris Lattner <sabre@nondot.org>2005-01-17 06:48:02 +0000
commit2a4e5082814ead67403766da3d3d339747759b41 (patch)
treef25257abb3ab4ba155d951e7243fa9dcd84ba001 /lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parent7a866d9a43aebb03b2483300841657780febda6b (diff)
Codegen this:
int %foo(int %X) { %T = add int %X, 13 %S = mul int %T, 3 ret int %S } as this: mov %ECX, DWORD PTR [%ESP + 4] lea %EAX, DWORD PTR [%ECX + 2*%ECX + 39] ret instead of this: mov %ECX, DWORD PTR [%ESP + 4] mov %EAX, %ECX add %EAX, 13 imul %EAX, %EAX, 3 ret git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19633 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
0 files changed, 0 insertions, 0 deletions