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)
commitb12f9b395416d17a5aaf6c9ffe507ee01c6469e3
tree40adfc5c002ca94a3ed42eeaa9b22525da68adbf
parent263d80f920133d4fe03df290bfdb333cd14bda3f
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244299 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MIRParser/MIParser.cpp
lib/CodeGen/MIRPrinter.cpp
test/CodeGen/MIR/X86/block-address-operands.mir