Cast to the proper type.

llvm-svn: 183365
This commit is contained in:
Bill Wendling 2013-06-06 01:04:21 +00:00
parent ed4b293b68
commit e410576865
1 changed files with 1 additions and 1 deletions

View File

@ -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) {