aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineTraceMetrics.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-11-13 12:09:34 -0800
committerCraig Topper <craig.topper@intel.com>2019-11-13 12:09:35 -0800
commit84e83b54bd79734dfac5a74436f4dd80e4a34146 (patch)
tree1f55ed0f49c4f7d0c066c5aa9da79be0160bde82 /llvm/lib/CodeGen/MachineTraceMetrics.cpp
parent63bbbcde9f623fd54c80e9768dc25b77bccf5f7d (diff)
downloadllvm-84e83b54bd79734dfac5a74436f4dd80e4a34146.zip
llvm-84e83b54bd79734dfac5a74436f4dd80e4a34146.tar.gz
llvm-84e83b54bd79734dfac5a74436f4dd80e4a34146.tar.bz2
[TargetLowering] Increase the storage size of NumRegistersForVT to allow the type break down for v256i1 and other types to be stored correctly
v256i1 on X86 without avx512 breaks down to 256 i8 values when passed between basic blocks. But the NumRegistersForVT was sized at a byte for each VT. This results in 256 being stored as 0. This patch enlarges the type to 16 bits and adds an assert to ensure that no information is lost when the entry is stored. Differential Revision: https://reviews.llvm.org/D70138
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions