projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4285d15
)
fix test
author
Chris Lattner
<sabre@nondot.org>
Sun, 19 Jul 2009 20:19:25 +0000
(20:19 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 19 Jul 2009 20:19:25 +0000
(20:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76378
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/bugpoint/Miscompilation.cpp
patch
|
blob
|
history
diff --git
a/tools/bugpoint/Miscompilation.cpp
b/tools/bugpoint/Miscompilation.cpp
index d7c0e2d8ff906c7ca5af94227df401283a2aa558..d7be3c909e17713de451e69a6d99adfb74dc5779 100644
(file)
--- a/
tools/bugpoint/Miscompilation.cpp
+++ b/
tools/bugpoint/Miscompilation.cpp
@@
-249,7
+249,8
@@
static void DisambiguateGlobalSymbols(Module *M) {
}
for (Module::iterator I = M->begin(), E = M->end(); I != E; ++I) {
// Don't mangle asm names or intrinsics.
- if (!I->hasName() || I->getName()[0] != 1 || I->getIntrinsicID() != 0)
+ if ((!I->hasName() || I->getName()[0] != 1) &&
+ I->getIntrinsicID() == 0)
I->setName(Mang.getMangledName(I));
}
}