[MIR] Fix out of bounds access in MIRPrinter.
authordfukalov <daniil.fukalov@amd.com>
Tue, 27 Oct 2020 15:17:38 +0000 (18:17 +0300)
committerdfukalov <daniil.fukalov@amd.com>
Thu, 29 Oct 2020 11:35:06 +0000 (14:35 +0300)
commitb3cdaef518ad92a722bdf2638e3b6fee643a73d1
treedf537313c7d69c0fef9daa8a3c88ab36c1c451c7
parent3fc601b6416defd646142293797778c5d6652f14
[MIR] Fix out of bounds access in MIRPrinter.

Fixes: SWDEV-256460

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D90239
llvm/lib/CodeGen/MIRPrinter.cpp
llvm/test/CodeGen/MIR/AMDGPU/stack-id-assert.mir [new file with mode: 0644]