MIR Parser: Extract the code that parses the alignment into a new method. NFC.
authorAlex Lorenz <arphaman@gmail.com>
Thu, 13 Aug 2015 20:33:33 +0000 (20:33 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Thu, 13 Aug 2015 20:33:33 +0000 (20:33 +0000)
commit4154d8aaa9d457c09ab512bd30f59adfa4089089
treeaecfe2fe70da95d5390a5527b18f7a3e8c5a74a7
parentd85f3b303dbb78d8e1a142fc94438d6a858ac42d
MIR Parser: Extract the code that parses the alignment into a new method. NFC.

This commit extracts the code that parses the memory operand's alignment into
a new method named 'parseAlignment' so that it can be reused when parsing the
basic block's alignment attribute.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244945 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MIRParser/MIParser.cpp