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 58a6ed2d9d885d2ab6e79156c205593047a9b4d1..63bc21edf56a081730041d8905ad6ee536491620 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;
 }