projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
R600/SI: Fix assertion from copying a TargetGlobalAddress
[oota-llvm.git]
/
lib
/
Target
/
CppBackend
/
CPPBackend.cpp
diff --git
a/lib/Target/CppBackend/CPPBackend.cpp
b/lib/Target/CppBackend/CPPBackend.cpp
index 7f822b67945b076ced9e283b7a2ec3f5902a19f7..f610fbb969bc496a1a2fdfd5750dd5dfcaa85696 100644
(file)
--- a/
lib/Target/CppBackend/CPPBackend.cpp
+++ b/
lib/Target/CppBackend/CPPBackend.cpp
@@
-1579,6
+1579,8
@@
void CppWriter::printInstruction(const Instruction *I,
Out << "\");";
nl(Out) << iName << "->setVolatile("
<< (cxi->isVolatile() ? "true" : "false") << ");";
+ nl(Out) << iName << "->setWeak("
+ << (cxi->isWeak() ? "true" : "false") << ");";
break;
}
case Instruction::AtomicRMW: {