radeon/llvm: Fix incorrect return value in SelectADDRReg()
authorTom Stellard <thomas.stellard@amd.com>
Tue, 31 Jul 2012 16:17:59 +0000 (16:17 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 31 Jul 2012 20:19:20 +0000 (20:19 +0000)
We need to return true when we match the pattern.

src/gallium/drivers/radeon/AMDILISelDAGToDAG.cpp

index 58a6ed2..63bc21e 100644 (file)
@@ -391,5 +391,5 @@ bool AMDGPUDAGToDAGISel::SelectADDRReg(SDValue Addr, SDValue& Base,
   Base = Addr.getOperand(0);
   Offset = Addr.getOperand(1);
 
-  return false;
+  return true;
 }