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
/
CodeGen
/
SelectionDAG
/
LegalizeTypes.h
diff --git
a/lib/CodeGen/SelectionDAG/LegalizeTypes.h
b/lib/CodeGen/SelectionDAG/LegalizeTypes.h
index 2f2778982611fae81ddcb5865c070fadf4f710fb..496639b5fb88e7b08c8a780366a7c99cb0197a3a 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeTypes.h
+++ b/
lib/CodeGen/SelectionDAG/LegalizeTypes.h
@@
-73,7
+73,7
@@
private:
}
EVT getSetCCResultType(EVT VT) const {
- return TLI.getSetCCResultType(*DAG.getContext(), VT);
+ return TLI.getSetCCResultType(
DAG.getDataLayout(),
*DAG.getContext(), VT);
}
/// IgnoreNodeResults - Pretend all of this node's results are legal.