From be468742811364f55a81d7f49164a60291bdd5ff Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 31 Jul 2012 16:17:59 +0000 Subject: radeon/llvm: Fix incorrect return value in SelectADDRReg() We need to return true when we match the pattern. --- src/gallium/drivers/radeon/AMDILISelDAGToDAG.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium') diff --git a/src/gallium/drivers/radeon/AMDILISelDAGToDAG.cpp b/src/gallium/drivers/radeon/AMDILISelDAGToDAG.cpp index 58a6ed2d9d8..63bc21edf56 100644 --- a/src/gallium/drivers/radeon/AMDILISelDAGToDAG.cpp +++ b/src/gallium/drivers/radeon/AMDILISelDAGToDAG.cpp @@ -391,5 +391,5 @@ bool AMDGPUDAGToDAGISel::SelectADDRReg(SDValue Addr, SDValue& Base, Base = Addr.getOperand(0); Offset = Addr.getOperand(1); - return false; + return true; } -- cgit v1.2.3