summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MIRParser/MILexer.h
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-03-28 18:18:46 +0000
committerMatthias Braun <matze@braunis.de>2016-03-28 18:18:46 +0000
commitb74eb41d581316beaadbc08d0b3c7541d0287372 (patch)
tree5729361f09da3f5b04a7053b3683ea2ecd2037bc /llvm/lib/CodeGen/MIRParser/MILexer.h
parent2bd8eeb6b7ab8b39a884f37cd24e7373f5f0ea35 (diff)
downloadbcm5719-llvm-b74eb41d581316beaadbc08d0b3c7541d0287372.tar.gz
bcm5719-llvm-b74eb41d581316beaadbc08d0b3c7541d0287372.zip
MIRParser: Add %subreg.xxx syntax for subregister index operands
Differential Revision: http://reviews.llvm.org/D18279 llvm-svn: 264608
Diffstat (limited to 'llvm/lib/CodeGen/MIRParser/MILexer.h')
-rw-r--r--llvm/lib/CodeGen/MIRParser/MILexer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MILexer.h b/llvm/lib/CodeGen/MIRParser/MILexer.h
index ddf5e9f7c10..32fc8ab271e 100644
--- a/llvm/lib/CodeGen/MIRParser/MILexer.h
+++ b/llvm/lib/CodeGen/MIRParser/MILexer.h
@@ -118,7 +118,8 @@ struct MIToken {
IRBlock,
NamedIRValue,
IRValue,
- QuotedIRValue // `<constant value>`
+ QuotedIRValue, // `<constant value>`
+ SubRegisterIndex
};
private:
OpenPOWER on IntegriCloud