commit | 474c83f1b325c10ba5244d2dc185476c062a3f43 | [log] [tgz] |
---|---|---|
author | Tim Northover <tnorthover@apple.com> | Tue Nov 08 20:39:03 2016 +0000 |
committer | Tim Northover <tnorthover@apple.com> | Tue Nov 08 20:39:03 2016 +0000 |
tree | 027bf42f216f70bf8fc751566f62f46256e434b8 | |
parent | d57fec969812c61bd7b1718ea80bf9a3f2115df7 [diff] |
GlobalISel: allow CodeGen to fallback on VReg type/class issues. After instruction selection we perform some checks on each VReg just before discarding the type information. These checks were assertions before, but that breaks the fallback path so this patch moves the logic into the main flow and reports a better error on failure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286289 91177308-0d34-0410-b5e6-96231b3b80d8