[llvm] r183365 - Cast to the proper type.
Bill Wendling
isanbard at gmail.com
Wed Jun 5 18:04:21 PDT 2013
Author: void
Date: Wed Jun 5 20:04:21 2013
New Revision: 183365
URL: http://llvm.org/viewvc/llvm-project?rev=183365&view=rev
Log:
Cast to the proper type.
Modified:
llvm/trunk/lib/Target/R600/AMDILISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/R600/AMDILISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/AMDILISelDAGToDAG.cpp?rev=183365&r1=183364&r2=183365&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/AMDILISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/R600/AMDILISelDAGToDAG.cpp Wed Jun 5 20:04:21 2013
@@ -751,7 +751,7 @@ void AMDGPUDAGToDAGISel::PostprocessISel
}
// 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) {
More information about the llvm-commits
mailing list