aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/LoopSimplify.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-04-11 21:09:14 +0000
committerChris Lattner <sabre@nondot.org>2004-04-11 21:09:14 +0000
commit8ebf1c35a15ea2c316edd207e8258af0d634931a (patch)
treee38d39a17589b5fe35b8f88073e68550a82163c5 /lib/Transforms/Utils/LoopSimplify.cpp
parent462fa82270b243f856c66399324f00402fd48d3e (diff)
This implements folding of constant operands into floating point operations
for mul and div. Instead of generating this: test_divr: fld QWORD PTR [%ESP + 4] fld QWORD PTR [.CPItest_divr_0] fdivrp %ST(1) ret We now generate this: test_divr: fld QWORD PTR [%ESP + 4] fdivr QWORD PTR [.CPItest_divr_0] ret This code desperately needs refactoring, which will come in the next patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/LoopSimplify.cpp')
0 files changed, 0 insertions, 0 deletions