Add utility function to IRBuilder that takes the difference between two
authorNick Lewycky <nicholas@mxc.ca>
Fri, 10 Apr 2009 05:30:48 +0000 (05:30 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Fri, 10 Apr 2009 05:30:48 +0000 (05:30 +0000)
commitb9fc36085706c131296e5a7eb91a68f7c8572c31
treed0d0be655a94f52b3018e18f132552158d081565
parent5b28f862df2419ac767734758d1ce0ccee3e41b4
Add utility function to IRBuilder that takes the difference between two
pointers, taking into account the size of the pointed-to object.
Patch by Jeffrey Yasskin!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68768 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/IRBuilder.h