diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-07-19 20:19:25 +0000 | 
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-07-19 20:19:25 +0000 | 
| commit | 14d021f5381e51b50514b7e52f14389d3f96f373 (patch) | |
| tree | 55a2ba845de3e7f77f9445c3f2de554b4f82dd1d /llvm/tools/bugpoint | |
| parent | 7e8aaad1a09472afe26a86968ee2934604df98bb (diff) | |
| download | bcm5719-llvm-14d021f5381e51b50514b7e52f14389d3f96f373.tar.gz bcm5719-llvm-14d021f5381e51b50514b7e52f14389d3f96f373.zip  | |
fix test
llvm-svn: 76378
Diffstat (limited to 'llvm/tools/bugpoint')
| -rw-r--r-- | llvm/tools/bugpoint/Miscompilation.cpp | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/Miscompilation.cpp b/llvm/tools/bugpoint/Miscompilation.cpp index d7c0e2d8ff9..d7be3c909e1 100644 --- 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));    }  }  | 

