aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/StructRetPromotion.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-05-08 17:37:37 +0000
committerChris Lattner <sabre@nondot.org>2008-05-08 17:37:37 +0000
commit2539e3389361115f5e75e4134bdd123171688ddc (patch)
tree4552fc266a066d3293bde3e93cb635b613cfb999 /lib/Transforms/IPO/StructRetPromotion.cpp
parent0ef546e639d45207b4776c80408c84170ad1cac6 (diff)
More than just loads can read from memory: readonly calls like strlen
also need to be checked for memory modifying instructions before we can sink them. THis fixes the second half of PR2297. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50860 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/StructRetPromotion.cpp')
0 files changed, 0 insertions, 0 deletions