projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e8aaad
)
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)
llvm-svn: 76378
llvm/tools/bugpoint/Miscompilation.cpp
patch
|
blob
|
history
diff --git
a/llvm/tools/bugpoint/Miscompilation.cpp
b/llvm/tools/bugpoint/Miscompilation.cpp
index
d7c0e2d
..
d7be3c9
100644
(file)
--- a/
llvm/tools/bugpoint/Miscompilation.cpp
+++ b/
llvm/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));
}
}