1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 22:12:57 +02:00
llvm-mirror/lib/CodeGen/MIRParser
Tim Northover 2d8bf8b427 GlobalISel: disambiguate types when printing MIR
Some generic instructions have multiple types. While in theory these always be
discovered by inspecting the single definition of each generic vreg, in
practice those definitions won't always be local and traipsing through a big
function to find them will not be fun.

So this changes MIRPrinter to print out the type of uses as well as defs, if
they're known to be different or not known to be the same.

On the parsing side, we're a little more flexible: provided each register is
given a type in at least one place it's mentioned (and all types are
consistent) we accept the MIR. This doesn't introduce ambiguity but makes
writing tests manually a bit less painful.

llvm-svn: 281204
2016-09-12 11:20:10 +00:00
..
CMakeLists.txt
LLVMBuild.txt
MILexer.cpp [CodeGen] Split out the notions of MI invariance and MI dereferenceability. 2016-09-11 01:38:58 +00:00
MILexer.h [CodeGen] Split out the notions of MI invariance and MI dereferenceability. 2016-09-11 01:38:58 +00:00
MIParser.cpp GlobalISel: disambiguate types when printing MIR 2016-09-12 11:20:10 +00:00
MIParser.h MIRParser: Move SlotMapping and SourceMgr refs to PFS; NFC 2016-07-13 23:27:50 +00:00
MIRParser.cpp GlobalISel: disambiguate types when printing MIR 2016-09-12 11:20:10 +00:00