From: Tom Stellard Date: Tue, 31 Jul 2012 16:17:59 +0000 (+0000) Subject: radeon/llvm: Fix incorrect return value in SelectADDRReg() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=be468742811364f55a81d7f49164a60291bdd5ff;p=mesa.git radeon/llvm: Fix incorrect return value in SelectADDRReg() We need to return true when we match the pattern. --- 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; }