llvm-project/llvm/test
Justin Bogner 6c452834a1 MIR: Print the register class or bank in vreg defs
This updates the MIRPrinter to include the regclass when printing
virtual register defs, which is already valid syntax for the
parser. That is, given 64 bit %0 and %1 in a "gpr" regbank,

  %1(s64) = COPY %0(s64)

would now be written as

  %1:gpr(s64) = COPY %0(s64)

While this change alone introduces a bit of redundancy with the
registers block, it allows us to update the tests to be more concise
and understandable and brings us closer to being able to remove the
registers block completely.

Note: We generally only print the class in defs, but there is one
exception. If there are uses without any defs whatsoever, we'll print
the class on all uses. I'm not completely convinced this comes up in
meaningful machine IR, but for now the MIRParser and MachineVerifier
both accept that kind of stuff, so we don't want to have a situation
where we can print something we can't parse.

llvm-svn: 316479
2017-10-24 18:04:54 +00:00
..
Analysis [ConstantFolding] Avoid assert when folding ptrtoint of vectorized GEP 2017-10-24 12:08:11 +00:00
Assembler Fix assembler for alloca of multiple elements in non-zero addr space 2017-10-14 03:23:18 +00:00
Bindings
Bitcode Bitcode: add an auto-upgrade for LTO section name 2017-10-06 18:06:59 +00:00
BugPoint
CodeGen MIR: Print the register class or bank in vreg defs 2017-10-24 18:04:54 +00:00
DebugInfo [codeview] Don't emit FPO data in funclet prologues 2017-10-12 18:20:35 +00:00
DllTool
Examples
ExecutionEngine [mips] Adds support for R_MIPS_26, HIGHER, HIGHEST relocations in RuntimeDyld. 2017-10-22 09:47:41 +00:00
Feature
FileCheck
Instrumentation [MSan] Disable sanitization for __sanitizer_dtor_callback. 2017-09-20 22:53:08 +00:00
Integer
JitListener
LTO Move the stripping of invalid debug info from the Verifier to AutoUpgrade. 2017-10-02 18:31:29 +00:00
LibDriver
Linker Verifier: Ignore CUs pulled in by ODR-uniqued types. 2017-10-18 01:11:01 +00:00
MC PowerPC: support the separator character in the IAS 2017-10-24 16:19:56 +00:00
Object Fix buffer overflow. 2017-10-19 01:25:48 +00:00
ObjectYAML [ObjectYAML] Handle SHF_COMPRESSED 2017-10-03 06:35:55 +00:00
Other [PM] Add pgo-memop-opt pass to the new pass manager 2017-10-23 22:21:29 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen [globalisel][tablegen] Fix small spelling nits. NFC 2017-10-20 20:55:29 +00:00
ThinLTO/X86 Add !callees metadata 2017-10-16 22:22:11 +00:00
Transforms AMDGPU: Add new intrinsic llvm.amdgcn.kill(i1) 2017-10-24 10:27:13 +00:00
Unit [lit] Make lit support config files with .py extension. 2017-09-21 00:24:52 +00:00
Verifier Move the stripping of invalid debug info from the Verifier to AutoUpgrade. 2017-10-02 18:31:29 +00:00
YAMLParser
tools [llvm-dwarfdump] - Cleanup of gnu_call_site.s. NFC. 2017-10-24 11:44:19 +00:00
.clang-format
CMakeLists.txt Don't set static-libs test feature when using LLVM_LINK_LLVM_DYLIB 2017-10-18 19:37:30 +00:00
TestRunner.sh
lit.cfg.py Don't set static-libs test feature when using LLVM_LINK_LLVM_DYLIB 2017-10-18 19:37:30 +00:00
lit.site.cfg.py.in Fix lit.site.cfg.py.in after rL316123 2017-10-18 20:46:05 +00:00