GlobalISel: handle G_SEQUENCE fallbacks gracefully.
authorTim Northover <tnorthover@apple.com>
Tue, 6 Dec 2016 18:38:38 +0000 (18:38 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 6 Dec 2016 18:38:38 +0000 (18:38 +0000)
commitc1a23854f31693b7dde4cb12b53df0b5cde48a1d
tree8cc0bd639f80d75dcd0ac3abda37454e262ed444
parentf50f2f3d3268b016c9940adabcadc1e8378303b5
GlobalISel: handle G_SEQUENCE fallbacks gracefully.

There were two problems:
  + AArch64 was reusing random data from its binary op tables, which is
    complete nonsense for G_SEQUENCE.
  + Even when AArch64 gave up and said it couldn't handle G_SEQUENCE,
    the generic code asserted.

llvm-svn: 288836
llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp
llvm/lib/Target/AArch64/AArch64RegisterBankInfo.cpp
llvm/test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll