summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MIRParser/MILexer.h
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>2018-08-20 20:37:57 +0000
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>2018-08-20 20:37:57 +0000
commitcc3f630252c7290e6b093dae7a52c7ec14dee0e5 (patch)
tree880342e885c3030dc75d297515cb8ac5f8e9595f /llvm/lib/CodeGen/MIRParser/MILexer.h
parent2077b62a6235491d179f6a48ac79c3a5e6914564 (diff)
downloadbcm5719-llvm-cc3f630252c7290e6b093dae7a52c7ec14dee0e5.tar.gz
bcm5719-llvm-cc3f630252c7290e6b093dae7a52c7ec14dee0e5.zip
Consistently use MemoryLocation::UnknownSize to indicate unknown access size
1. Change the software pipeliner to use unknown size instead of dropping memory operands. It used to do it before, but MachineInstr::mayAlias did not handle it correctly. 2. Recognize UnknownSize in MachineInstr::mayAlias. 3. Print and parse UnknownSize in MIR. Differential Revision: https://reviews.llvm.org/D50339 llvm-svn: 340208
Diffstat (limited to 'llvm/lib/CodeGen/MIRParser/MILexer.h')
-rw-r--r--llvm/lib/CodeGen/MIRParser/MILexer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MILexer.h b/llvm/lib/CodeGen/MIRParser/MILexer.h
index 94b460e9ac2..d2dc5511b25 100644
--- a/llvm/lib/CodeGen/MIRParser/MILexer.h
+++ b/llvm/lib/CodeGen/MIRParser/MILexer.h
@@ -115,6 +115,7 @@ struct MIToken {
kw_intpred,
kw_pre_instr_symbol,
kw_post_instr_symbol,
+ kw_unknown_size,
// Named metadata keywords
md_tbaa,
OpenPOWER on IntegriCloud