summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Dominators.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2018-01-24 02:11:18 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2018-01-24 02:11:18 +0000
commit432a587cf00b3ecb552750f0f4dbd830e18f500c (patch)
tree6f3ee8640c51d21d68de3e22872f302da18a00a1 /llvm/lib/IR/Dominators.cpp
parenta277d024f7a7c00796344105dbe0f5c427383158 (diff)
downloadbcm5719-llvm-432a587cf00b3ecb552750f0f4dbd830e18f500c.tar.gz
bcm5719-llvm-432a587cf00b3ecb552750f0f4dbd830e18f500c.zip
Don't assume a null GV is local for ELF and MachO.
This is already a simplification, and should help with avoiding a plt reference when calling an intrinsic with -fno-plt. With this change we return false for null GVs, so the caller only needs to check the new metadata to decide if it should use foo@plt or *foo@got. llvm-svn: 323297
Diffstat (limited to 'llvm/lib/IR/Dominators.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud