diff options
author | Tom Stellard <[email protected]> | 2012-07-31 16:17:59 +0000 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-07-31 20:19:20 +0000 |
commit | be468742811364f55a81d7f49164a60291bdd5ff (patch) | |
tree | 4ce440ec70b507dbe53c5a3e0d2d3f0ae652a770 /src/gallium | |
parent | 056b77ca22a3e7a2e24a32941daf65313f604042 (diff) |
radeon/llvm: Fix incorrect return value in SelectADDRReg()
We need to return true when we match the pattern.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/radeon/AMDILISelDAGToDAG.cpp | 2 |
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; } |