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:
a786c7b
)
DisambiguateGlobalSymbols should not mangle intrinsics.
author
Chris Lattner
<sabre@nondot.org>
Sun, 19 Jul 2009 20:19:04 +0000
(20:19 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 19 Jul 2009 20:19:04 +0000
(20:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76377
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 83054f30b0a3b054a78ad33274648762692eca1c..d7c0e2d8ff906c7ca5af94227df401283a2aa558 100644
(file)
--- a/
tools/bugpoint/Miscompilation.cpp
+++ b/
tools/bugpoint/Miscompilation.cpp
@@
-248,8
+248,8
@@
static void DisambiguateGlobalSymbols(Module *M) {
I->setName(Mang.getMangledName(I));
}
for (Module::iterator I = M->begin(), E = M->end(); I != E; ++I) {
- // Don't mangle asm names.
- if (!I->hasName() || I->getName()[0] != 1)
+ // Don't mangle asm names
or intrinsics
.
+ if (!I->hasName() || I->getName()[0] != 1
|| I->getIntrinsicID() != 0
)
I->setName(Mang.getMangledName(I));
}
}