commit | 3c2073e562bfaad97e69df4bce459e43c85be842 | [log] [tgz] |
---|---|---|
author | Kristof Beyls <kristof.beyls@arm.com> | Thu Jan 05 11:28:51 2017 +0000 |
committer | Kristof Beyls <kristof.beyls@arm.com> | Thu Jan 05 11:28:51 2017 +0000 |
tree | 1ad1b001a5721621a733581711de0ced62d1a38e | |
parent | 44e43a64a6e189325bcc9b2b60ae4d6b56bd6983 [diff] |
[GlobalISel] Add support for switch statements This commit does this using a trivial chain of conditional branches. In the future, we probably want to reuse the optimized switch lowering used in SelectionDAG. Differential Revision: https://reviews.llvm.org/D28176 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291099 91177308-0d34-0410-b5e6-96231b3b80d8