llvm/include
Quentin Colombet 0a5eca7061 [RegisterBankInfo] Emit proper type for remapped registers.
When the OperandsMapper creates virtual registers, it used to just create
plain scalar register with the right size. This may confuse the
instruction selector because we lose the information of the instruction
using those registers what supposed to do. The MachineVerifier complains
about that already.

With this patch, the OperandsMapper still creates plain scalar register,
but the expectation is for the mapping function to remap the type
properly. The default mapping function has been updated to do that.

rdar://problem/30231850

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293362 91177308-0d34-0410-b5e6-96231b3b80d8
2017-01-28 02:23:48 +00:00
..
llvm [RegisterBankInfo] Emit proper type for remapped registers. 2017-01-28 02:23:48 +00:00
llvm-c [GVN] Initial check-in of a new global value numbering algorithm. 2016-12-22 16:03:48 +00:00