diff options
author | Nate Begeman <natebegeman@mac.com> | 2008-07-29 19:07:27 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2008-07-29 19:07:27 +0000 |
commit | 24dc346a16397bf740d8d961cd1ebec8d2f46957 (patch) | |
tree | 1913044a315009c35273c12c087dcbaacfed85ae /lib/Target/CellSPU | |
parent | 6d399bdea269658a03b63de850595fbfdd487098 (diff) | |
download | external_llvm-24dc346a16397bf740d8d961cd1ebec8d2f46957.zip external_llvm-24dc346a16397bf740d8d961cd1ebec8d2f46957.tar.gz external_llvm-24dc346a16397bf740d8d961cd1ebec8d2f46957.tar.bz2 |
Fix broken CellSPU lowering, re-instate braces in Legalize
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54168 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CellSPU')
-rw-r--r-- | lib/Target/CellSPU/SPUISelLowering.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Target/CellSPU/SPUISelLowering.cpp b/lib/Target/CellSPU/SPUISelLowering.cpp index 2fd7251..5f621ed 100644 --- a/lib/Target/CellSPU/SPUISelLowering.cpp +++ b/lib/Target/CellSPU/SPUISelLowering.cpp @@ -2481,8 +2481,9 @@ LowerByteImmed(SDValue Op, SelectionDAG &DAG) { DAG.getNode(ISD::BUILD_VECTOR, VT, tcVec, tcVecSize)); } } - - return SDValue(); + // These operations (AND, OR, XOR) are legal, they just couldn't be custom + // lowered. Return the operation, rather than a null SDValue. + return Op; } //! Lower i32 multiplication |