aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/Linker.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-11-01 17:05:27 +0000
committerChris Lattner <sabre@nondot.org>2001-11-01 17:05:27 +0000
commite99c66b74fe04aeebeeb1b0c50ed0ea5ba45d371 (patch)
tree1f16028393b2a3b0a759a6b4f959fd5667c18e62 /lib/Transforms/Utils/Linker.cpp
parent68b07b7c5de181d58b6833defccd6ebb79e689b9 (diff)
* Add comments for peepholes
* Implement new peephole: // Peephole optimize the following instructions: // %t1 = cast {<...>} * %StructPtr to <ty> * // // Into: %t2 = getelementptr {<...>} * %StructPtr, <0, 0, 0, ...> // %t1 = cast <eltype> * %t1 to <ty> * This peephole eliminated 9 evil casts in the health benchmark, and completely turned the addList method around. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1085 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/Linker.cpp')
0 files changed, 0 insertions, 0 deletions