projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make TargetLowering::getPointerTy() taking DataLayout as an argument
[oota-llvm.git]
/
lib
/
Target
/
Mips
/
MipsSEISelDAGToDAG.cpp
diff --git
a/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
b/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
index 990a2f8d8c859f91ef6d23663d208255e2830f0c..cb46d731da290ab717e4c725d740868448ccc473 100644
(file)
--- a/
lib/Target/Mips/MipsSEISelDAGToDAG.cpp
+++ b/
lib/Target/Mips/MipsSEISelDAGToDAG.cpp
@@
-841,7
+841,7
@@
std::pair<bool, SDNode*> MipsSEDAGToDAGISel::selectNode(SDNode *Node) {
}
case MipsISD::ThreadPointer: {
- EVT PtrVT = getTargetLowering()->getPointerTy();
+ EVT PtrVT = getTargetLowering()->getPointerTy(
CurDAG->getDataLayout()
);
unsigned RdhwrOpc, DestReg;
if (PtrVT == MVT::i32) {