mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
I didn't intend to commit this change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223584 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
620e8763ec
commit
d34c5a921f
@ -1350,7 +1350,7 @@ static ICmpInst::Predicate areGlobalsPotentiallyEqual(const GlobalValue *GV1,
|
||||
const GlobalValue *GV2) {
|
||||
// Don't try to decide equality of aliases.
|
||||
if (!isa<GlobalAlias>(GV1) && !isa<GlobalAlias>(GV2))
|
||||
if (!GV1->hasExternalWeakLinkage() && !GV2->hasExternalWeakLinkage())
|
||||
if (!GV1->hasExternalWeakLinkage() || !GV2->hasExternalWeakLinkage())
|
||||
return ICmpInst::ICMP_NE;
|
||||
return ICmpInst::BAD_ICMP_PREDICATE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user