llvm-project/llvm/test/CodeGen/MIR/AMDGPU
Matt Arsenault bc6d07ca46 MIR: Allow targets to serialize MachineFunctionInfo
This has been a very painful missing feature that has made producing
reduced testcases difficult. In particular the various registers
determined for stack access during function lowering were necessary to
avoid undefined register errors in a large percentage of
cases. Implement a subset of the important fields that need to be
preserved for AMDGPU.

Most of the changes are to support targets parsing register fields and
properly reporting errors. The biggest sort-of bug remaining is for
fields that can be initialized from the IR section will be overwritten
by a default initialized machineFunctionInfo section. Another
remaining bug is the machineFunctionInfo section is still printed even
if empty.

llvm-svn: 356215
2019-03-14 22:54:43 +00:00
..
expected-target-index-name.mir [AMDGPU] Add support for immediate operand for S_ENDPGM 2019-03-12 09:52:58 +00:00
intrinsics.mir
invalid-target-index-operand.mir [AMDGPU] Add support for immediate operand for S_ENDPGM 2019-03-12 09:52:58 +00:00
lit.local.cfg
machine-function-info-no-ir.mir MIR: Allow targets to serialize MachineFunctionInfo 2019-03-14 22:54:43 +00:00
machine-function-info-register-parse-error1.mir MIR: Allow targets to serialize MachineFunctionInfo 2019-03-14 22:54:43 +00:00
machine-function-info-register-parse-error2.mir MIR: Allow targets to serialize MachineFunctionInfo 2019-03-14 22:54:43 +00:00
machine-function-info.ll MIR: Allow targets to serialize MachineFunctionInfo 2019-03-14 22:54:43 +00:00
mfi-frame-offset-reg-class.mir MIR: Allow targets to serialize MachineFunctionInfo 2019-03-14 22:54:43 +00:00
mfi-parse-error-frame-offset-reg.mir MIR: Allow targets to serialize MachineFunctionInfo 2019-03-14 22:54:43 +00:00
mfi-parse-error-scratch-rsrc-reg.mir MIR: Allow targets to serialize MachineFunctionInfo 2019-03-14 22:54:43 +00:00
mfi-parse-error-scratch-wave-offset-reg.mir MIR: Allow targets to serialize MachineFunctionInfo 2019-03-14 22:54:43 +00:00
mfi-parse-error-stack-ptr-offset-reg.mir MIR: Allow targets to serialize MachineFunctionInfo 2019-03-14 22:54:43 +00:00
mfi-scratch-rsrc-reg-reg-class.mir MIR: Allow targets to serialize MachineFunctionInfo 2019-03-14 22:54:43 +00:00
mfi-scratch-wave-offset-reg-class.mir MIR: Allow targets to serialize MachineFunctionInfo 2019-03-14 22:54:43 +00:00
mfi-stack-ptr-offset-reg-class.mir MIR: Allow targets to serialize MachineFunctionInfo 2019-03-14 22:54:43 +00:00
mir-canon-multi.mir [AMDGPU] Add support for immediate operand for S_ENDPGM 2019-03-12 09:52:58 +00:00
stack-id.mir [AMDGPU] Add support for immediate operand for S_ENDPGM 2019-03-12 09:52:58 +00:00
syncscopes.mir [AMDGPU] Add support for immediate operand for S_ENDPGM 2019-03-12 09:52:58 +00:00
target-flags.mir [AMDGPU] Add support for immediate operand for S_ENDPGM 2019-03-12 09:52:58 +00:00
target-index-operands.mir [AMDGPU] Add support for immediate operand for S_ENDPGM 2019-03-12 09:52:58 +00:00