MIR Serialization: Fix serialization of unnamed IR block references.
authorAlex Lorenz <arphaman@gmail.com>
Thu, 6 Aug 2015 23:57:04 +0000 (23:57 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Thu, 6 Aug 2015 23:57:04 +0000 (23:57 +0000)
commitcba8c5fe317bcad85d0bebb7aa68e52353f54916
treee196c5ac32784567b6d73027e24e218d6b349e97
parent4c1ff05a705c55d30a8b9a12d9835362966ae4fe
MIR Serialization: Fix serialization of unnamed IR block references.

The block address machine operands can reference IR blocks in other functions.
This commit fixes a bug where the references to unnamed IR blocks in other
functions weren't serialized correctly.

llvm-svn: 244299
llvm/lib/CodeGen/MIRParser/MIParser.cpp
llvm/lib/CodeGen/MIRPrinter.cpp
llvm/test/CodeGen/MIR/X86/block-address-operands.mir