aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-07-31 16:17:59 +0000
committerTom Stellard <[email protected]>2012-07-31 20:19:20 +0000
commitbe468742811364f55a81d7f49164a60291bdd5ff (patch)
tree4ce440ec70b507dbe53c5a3e0d2d3f0ae652a770 /src
parent056b77ca22a3e7a2e24a32941daf65313f604042 (diff)
radeon/llvm: Fix incorrect return value in SelectADDRReg()
We need to return true when we match the pattern.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/radeon/AMDILISelDAGToDAG.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}