commit | 585ed95521a8764891f5f300f43df884efc546d2 | [log] [tgz] |
---|---|---|
author | Tim Northover <tnorthover@apple.com> | Tue Aug 23 19:30:42 2016 +0000 |
committer | Tim Northover <tnorthover@apple.com> | Tue Aug 23 19:30:42 2016 +0000 |
tree | 48f90c2dd156fd8991890c44954c64ec55e49f9a | |
parent | 3891c455e2e69cb81ca88d47a66fcc685b5b478b [diff] |
GlobalISel: extend legalizer interface to handle multiple types. Instructions like G_ICMP have multiple types that may need to be legalized (the boolean output and nearly arbitrary inputs in this case). So the legalizer must be capable of deciding what to do for each of them separately. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279554 91177308-0d34-0410-b5e6-96231b3b80d8