diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2020-07-22 19:22:34 -0400 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2020-07-23 15:39:33 -0400 |
commit | b9c644ec6134dcfac7d3e8806cf3605564fd8ace (patch) | |
tree | 285ea0f94b593b38516db3a95fcc6d318f89d54f /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 1404d9d68a9cd23c9231109e2164f8ed2e87d8dd (diff) | |
download | llvm-b9c644ec6134dcfac7d3e8806cf3605564fd8ace.zip llvm-b9c644ec6134dcfac7d3e8806cf3605564fd8ace.tar.gz llvm-b9c644ec6134dcfac7d3e8806cf3605564fd8ace.tar.bz2 |
AMDGPU: Fix failures from overflowing uint8_t number of operands
If the operand index exceeded the limit of unsigned char, it wrapped
and would point to the wrong operand. Increase the size of the operand
index field to avoid this, and also don't bother trying to fold into
implicit operands.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions