projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Extend the IL for selecting TLS models (PR9788)
[oota-llvm.git]
/
lib
/
Transforms
/
Utils
/
CloneModule.cpp
diff --git
a/lib/Transforms/Utils/CloneModule.cpp
b/lib/Transforms/Utils/CloneModule.cpp
index a0e027b5f12e91bd7f314972605ef3929db7a209..1dac6b5b8bce55cb81c4be1a2a3ada55447a763a 100644
(file)
--- a/
lib/Transforms/Utils/CloneModule.cpp
+++ b/
lib/Transforms/Utils/CloneModule.cpp
@@
-53,7
+53,7
@@
Module *llvm::CloneModule(const Module *M, ValueToValueMapTy &VMap) {
I->isConstant(), I->getLinkage(),
(Constant*) 0, I->getName(),
(GlobalVariable*) 0,
- I->
isThreadLocal
(),
+ I->
getThreadLocalMode
(),
I->getType()->getAddressSpace());
GV->copyAttributesFrom(I);
VMap[I] = GV;