diff options
author | Alexey Bataev <a.bataev@outlook.com> | 2021-12-06 08:32:15 -0800 |
---|---|---|
committer | Alexey Bataev <a.bataev@outlook.com> | 2021-12-06 10:46:13 -0800 |
commit | a101a9b64b31ed20e4d18c2e395b0a3742ad1836 (patch) | |
tree | 722a7d56e1cb03afb464b0320c0da6421eb2a377 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 5871969048e4bb62efc97f25a8038604501ecead (diff) | |
download | llvm-a101a9b64b31ed20e4d18c2e395b0a3742ad1836.zip llvm-a101a9b64b31ed20e4d18c2e395b0a3742ad1836.tar.gz llvm-a101a9b64b31ed20e4d18c2e395b0a3742ad1836.tar.bz2 |
[SLP]Fix compiler crash when calculating extract cost for undefs.
Need to add an extra check for potential undef values in
computeExtractCost function to avoid compiler crash on casting to
instructon.
Differential Revision: https://reviews.llvm.org/D115162
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions