diff options
author | Nadav Rotem <nadav.rotem@intel.com> | 2011-09-18 10:29:29 +0000 |
---|---|---|
committer | Nadav Rotem <nadav.rotem@intel.com> | 2011-09-18 10:29:29 +0000 |
commit | 7aaa0aa7a70fbacf0c5b5613f4eb2caafc6fbf3d (patch) | |
tree | b58667193560665b481470a2a76cc4e3c715971f /llvm/lib/CodeGen | |
parent | d9d01917ee6ba0ea547ed5f8098c796da29cf8f6 (diff) | |
download | bcm5719-llvm-7aaa0aa7a70fbacf0c5b5613f4eb2caafc6fbf3d.tar.gz bcm5719-llvm-7aaa0aa7a70fbacf0c5b5613f4eb2caafc6fbf3d.zip |
white space cleanups
llvm-svn: 139994
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp index 7c59c7eb5a0..80b4c6053a6 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp @@ -61,8 +61,8 @@ class VectorLegalizer { // Implements expansion for UINT_TO_FLOAT; falls back to UnrollVectorOp if // SINT_TO_FLOAT and SHR on vectors isn't legal. SDValue ExpandUINT_TO_FLOAT(SDValue Op); - // Implement vselect in terms of XOR, AND,OR when blend is not supported - // by the target. + // Implement vselect in terms of XOR, AND, OR when blend is not supported + // by the target. SDValue ExpandVSELECT(SDValue Op); SDValue ExpandFNEG(SDValue Op); // Implements vector promotion; this is essentially just bitcasting the @@ -277,9 +277,8 @@ SDValue VectorLegalizer::ExpandVSELECT(SDValue Op) { // AND,OR,XOR, we will have to scalarize the op. if (!TLI.isOperationLegalOrCustom(ISD::AND, VT) || !TLI.isOperationLegalOrCustom(ISD::XOR, VT) || - !TLI.isOperationLegalOrCustom(ISD::OR, VT)) { - return DAG.UnrollVectorOp(Op.getNode()); - } + !TLI.isOperationLegalOrCustom(ISD::OR, VT)) + return DAG.UnrollVectorOp(Op.getNode()); assert(VT.getSizeInBits() == OVT.getSizeInBits() && "Invalid mask size"); // Bitcast the operands to be the same type as the mask. |