[llvm-commits] [llvm] r138091 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp

Chandler Carruth chandlerc at google.com
Fri Aug 19 22:38:39 PDT 2011


On Fri, Aug 19, 2011 at 2:45 PM, Nick Lewycky <nicholas at mxc.ca> wrote:

> Author: nicholas
> Date: Fri Aug 19 16:45:19 2011
> New Revision: 138091
>
> URL: http://llvm.org/viewvc/llvm-project?rev=138091&view=rev
> Log:
> Eli points out that this is what report_fatal_error() is for.
>
> Modified:
>    llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
>
> Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp?rev=138091&r1=138090&r2=138091&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp (original)
> +++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp Fri Aug 19
> 16:45:19 2011
> @@ -45,7 +45,8 @@
>     dbgs() << "\n";
>     dbgs() << "Do not know how to scalarize the result of this
> operator!\n";
>

Any reason not to remove this line as well?


>  #endif
> -    abort();
> +    report_fatal_error("Do not know how to scalarize the result of this "
> +                       "operator!\n");
>
>   case ISD::BITCAST:           R = ScalarizeVecRes_BITCAST(N); break;
>   case ISD::BUILD_VECTOR:      R = N->getOperand(0); break;
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110819/75de1d51/attachment.html>


More information about the llvm-commits mailing list