projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e46ce9a
)
Use the target lowering we can get off of the DAG rather than off
author
Eric Christopher
<echristo@gmail.com>
Fri, 27 Jun 2014 03:45:49 +0000
(
03:45
+0000)
committer
Eric Christopher
<echristo@gmail.com>
Fri, 27 Jun 2014 03:45:49 +0000
(
03:45
+0000)
of the cached target machine.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211858
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/NVPTX/NVPTXISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/NVPTX/NVPTXISelLowering.cpp
b/lib/Target/NVPTX/NVPTXISelLowering.cpp
index 0e3e0d50adeeeadc90b9139f4448929c391f6540..60da5f1f77670d4423bd669137f1ba8f558e74dd 100644
(file)
--- a/
lib/Target/NVPTX/NVPTXISelLowering.cpp
+++ b/
lib/Target/NVPTX/NVPTXISelLowering.cpp
@@
-1501,7
+1501,7
@@
SDValue NVPTXTargetLowering::LowerFormalArguments(
const Function *F = MF.getFunction();
const AttributeSet &PAL = F->getAttributes();
- const TargetLowering *TLI =
nvTM->
getTargetLowering();
+ const TargetLowering *TLI =
DAG.getTarget().
getTargetLowering();
SDValue Root = DAG.getRoot();
std::vector<SDValue> OutChains;