diff options
author | Reid Kleckner <rnk@google.com> | 2017-08-23 20:31:27 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2017-08-23 20:31:27 +0000 |
commit | 6d353348e58105098363ed5be162a2f9c044d342 (patch) | |
tree | 8f67617b050d1287cf830706bc242c9c5ce4d0d8 /llvm/lib/CodeGen/MIRParser/MILexer.h | |
parent | c01994b5fe93542f7d3c62726c67635652c92df2 (diff) | |
download | bcm5719-llvm-6d353348e58105098363ed5be162a2f9c044d342.tar.gz bcm5719-llvm-6d353348e58105098363ed5be162a2f9c044d342.zip |
Parse and print DIExpressions inline to ease IR and MIR testing
Summary:
Most DIExpressions are empty or very simple. When they are complex, they
tend to be unique, so checking them inline is reasonable.
This also avoids the need for CodeGen passes to append to the
llvm.dbg.mir named md node.
See also PR22780, for making DIExpression not be an MDNode.
Reviewers: aprantl, dexonsmith, dblaikie
Subscribers: qcolombet, javed.absar, eraman, hiraditya, llvm-commits
Differential Revision: https://reviews.llvm.org/D37075
llvm-svn: 311594
Diffstat (limited to 'llvm/lib/CodeGen/MIRParser/MILexer.h')
-rw-r--r-- | llvm/lib/CodeGen/MIRParser/MILexer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MILexer.h b/llvm/lib/CodeGen/MIRParser/MILexer.h index 08b82e59c4f..c203d2c4817 100644 --- a/llvm/lib/CodeGen/MIRParser/MILexer.h +++ b/llvm/lib/CodeGen/MIRParser/MILexer.h @@ -100,6 +100,7 @@ struct MIToken { md_alias_scope, md_noalias, md_range, + md_diexpr, // Identifier tokens Identifier, |