aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-06-06 01:04:21 +0000
committerBill Wendling <isanbard@gmail.com>2013-06-06 01:04:21 +0000
commitb88cef5a16d7295bc2bb5665cbe09fba74ed0c54 (patch)
tree5e3488911119a588d4e227ab8ba4a7ef0f043eb6 /lib
parentc6e2ab3a573af4d3b486eb9164cce8e6760ef8dd (diff)
downloadexternal_llvm-b88cef5a16d7295bc2bb5665cbe09fba74ed0c54.zip
external_llvm-b88cef5a16d7295bc2bb5665cbe09fba74ed0c54.tar.gz
external_llvm-b88cef5a16d7295bc2bb5665cbe09fba74ed0c54.tar.bz2
Cast to the proper type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183365 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/R600/AMDILISelDAGToDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/R600/AMDILISelDAGToDAG.cpp b/lib/Target/R600/AMDILISelDAGToDAG.cpp
index 82f1c7e..554131a 100644
--- a/lib/Target/R600/AMDILISelDAGToDAG.cpp
+++ b/lib/Target/R600/AMDILISelDAGToDAG.cpp
@@ -751,7 +751,7 @@ void AMDGPUDAGToDAGISel::PostprocessISelDAG() {
}
// Go over all selected nodes and try to fold them a bit more
- const AMDGPUTargetLowering& Lowering = ((const AMDGPUTargetLowering&)TLI);
+ const AMDGPUTargetLowering& Lowering = (*(const AMDGPUTargetLowering*)TLI);
for (SelectionDAG::allnodes_iterator I = CurDAG->allnodes_begin(),
E = CurDAG->allnodes_end(); I != E; ++I) {