GlobalISel: forbid physical registers on generic MIs.
authorTim Northover <tnorthover@apple.com>
Tue, 30 Aug 2016 18:52:46 +0000 (18:52 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 30 Aug 2016 18:52:46 +0000 (18:52 +0000)
commite5102de678dd8e030f58bb0e9d4f451055289577
treeed78dcc0251fb85d5a6333f1d8643008530e758f
parent6a405448f396afda39e2ed9054c492f5943acd8f
GlobalISel: forbid physical registers on generic MIs.

We're intending to move to a world where the type of a register is determined
by its (unique) def. This is incompatible with physregs, which are untyped.

It also means the other passes don't have to worry quite so much about
register-class compatibility and inserting COPYs appropriately.

llvm-svn: 280132
llvm/lib/CodeGen/MachineVerifier.cpp
llvm/test/CodeGen/AArch64/GlobalISel/arm64-regbankselect.mir
llvm/test/CodeGen/AArch64/GlobalISel/legalize-add.mir
llvm/test/CodeGen/AArch64/GlobalISel/legalize-and.mir
llvm/test/CodeGen/AArch64/GlobalISel/legalize-mul.mir
llvm/test/CodeGen/AArch64/GlobalISel/legalize-or.mir
llvm/test/CodeGen/AArch64/GlobalISel/legalize-sub.mir
llvm/test/CodeGen/AArch64/GlobalISel/legalize-xor.mir
llvm/test/CodeGen/MIR/X86/generic-instr-type.mir