aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SimpleRegisterCoalescing.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-11-04 08:05:20 +0000
committerChris Lattner <sabre@nondot.org>2009-11-04 08:05:20 +0000
commit092543ca71e3d837f1be3cf009ba126f3d7085e5 (patch)
tree30ba0e79665958d65731f1f4b03ad60385442b08 /lib/CodeGen/SimpleRegisterCoalescing.cpp
parent6a4ab1e42671a8baa0324be6a40e2c4c6447949e (diff)
move two functions up higher in the file. Delete a useless argument
to EmitGEPOffset. Implement some new transforms for optimizing subtracts of two pointer to ints into the same vector. This happens for C++ iterator idioms for example, stringmap takes a const char* that points to the start and end of a string. Once inlined, we want the pointer difference to turn back into a length. This is rdar://7362831. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86021 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SimpleRegisterCoalescing.cpp')
0 files changed, 0 insertions, 0 deletions