diff options
author | Chris Lattner <sabre@nondot.org> | 2008-11-30 01:39:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-11-30 01:39:32 +0000 |
commit | 237a8287454389a5b940e18c1efb2201fc443208 (patch) | |
tree | d66f515f18d652d4a41966cf44252a2c9cfe5e09 /lib/CodeGen/MachineInstr.cpp | |
parent | 73ec3cdd7140aee6d2b9ac32bc2298254ff48c97 (diff) |
Fix a fixme by making memdep's handling of allocations more logical.
If we see that a load depends on the allocation of its memory with no
intervening stores, we now return a 'None' depedency instead of "Normal".
This tweaks GVN to do its optimization with the new result.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60267 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions