OSDN Git Service

[cleanup] Hoist an if-else chain on ISD opcodes (really designed for
authorChandler Carruth <chandlerc@gmail.com>
Wed, 2 Jul 2014 06:23:34 +0000 (06:23 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 2 Jul 2014 06:23:34 +0000 (06:23 +0000)
commit5f8c844dc8b9cc542c0c3510e144d8edcdeff697
tree26c333fe08984b19a35c5754122185a87919d8e1
parent35f5448c520b506c718364ecb3081fdfb89f279a
[cleanup] Hoist an if-else chain on ISD opcodes (really designed for
switches) into a switch, and sink them into a dispatch function that can
return the result rather than awkward variable setting with breaks.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212166 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp