MIR Parser: Extract the IR constant parsing code into a new method. NFC.
authorAlex Lorenz <arphaman@gmail.com>
Wed, 5 Aug 2015 18:44:00 +0000 (18:44 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Wed, 5 Aug 2015 18:44:00 +0000 (18:44 +0000)
commitbed9b2f749803f81666e07b4a8c026c9658b4d0a
tree9033342bd2a4e1ada644c942a858b930c3001630
parentcebdc2689e660d356b35d5c4450266f61797524c
MIR Parser: Extract the IR constant parsing code into a new method. NFC.

This commit extracts the code that parses the IR constant values into a new
method named 'parseIRConstant' in the 'MIParser' class. The new method will
be reused by the code that parses the typed integer immediate machine operands.

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