commit | 081f80078dccf02c1f9c61378ff88bbf1b4afb5e | [log] [tgz] |
---|---|---|
author | Nick Lewycky <nicholas@mxc.ca> | Wed Nov 24 22:04:20 2010 +0000 |
committer | Nick Lewycky <nicholas@mxc.ca> | Wed Nov 24 22:04:20 2010 +0000 |
tree | 954d3a339e77290d1191ee8b8f070c328d1821ee | |
parent | 25958730dffe0a16f9c251a1fa317799b8419a1f [diff] |
Treat a call of function pointer like a load of the pointer when considering whether the pointer can be replaced with the global variable it is a copy of. Fixes PR8680. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120126 91177308-0d34-0410-b5e6-96231b3b80d8