projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[mips] Implement tlbp, tlbr, tlbwi, and tlbwr
[oota-llvm.git]
/
lib
/
Target
/
Target.cpp
diff --git
a/lib/Target/Target.cpp
b/lib/Target/Target.cpp
index ee5178184fb9ff03d2a969f2691a787da5af8a3a..627786dfb4968f10c6562ddd282be2e5fbce4a69 100644
(file)
--- a/
lib/Target/Target.cpp
+++ b/
lib/Target/Target.cpp
@@
-55,6
+55,8
@@
LLVMTargetDataRef LLVMCreateTargetData(const char *StringRep) {
}
void LLVMAddTargetData(LLVMTargetDataRef TD, LLVMPassManagerRef PM) {
+ // The DataLayoutPass must now be in sync with the module. Unfortunatelly we
+ // cannot enforce that from the C api.
unwrap(PM)->add(new DataLayoutPass(*unwrap(TD)));
}