projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NVPTX] Silence a GCC warning found by the buildbots
[oota-llvm.git]
/
lib
/
Target
/
NVPTX
/
NVPTXISelDAGToDAG.cpp
diff --git
a/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
b/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
index aeda71ff0e9034869731ff3315d14ca8e0f17c9e..05205fba1affdcc6ce1f0476d3455349486c8e63 100644
(file)
--- a/
lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
+++ b/
lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
@@
-98,7
+98,7
@@
bool NVPTXDAGToDAGISel::useF32FTZ() const {
}
bool NVPTXDAGToDAGISel::allowFMA() const {
- const NVPTXTargetLowering *TL =
(NVPTXTargetLowering *)
getTargetLowering();
+ const NVPTXTargetLowering *TL =
Subtarget.
getTargetLowering();
return TL->allowFMA(*MF, OptLevel);
}