diff options
| author | Craig Topper <craig.topper@intel.com> | 2019-10-31 09:45:03 -0700 |
|---|---|---|
| committer | Craig Topper <craig.topper@intel.com> | 2019-10-31 10:55:20 -0700 |
| commit | 6773435624288f9c69d7ae4b804f2410808cf1a2 (patch) | |
| tree | 035146475b5cacb3b2e76e1575eadacf87b1a3e4 /llvm/lib/CodeGen/LiveDebugValues.cpp | |
| parent | fdd0815eacb45491ac0f4dccdccc46b498d6fbe1 (diff) | |
| download | bcm5719-llvm-6773435624288f9c69d7ae4b804f2410808cf1a2.tar.gz bcm5719-llvm-6773435624288f9c69d7ae4b804f2410808cf1a2.zip | |
[IPCP] Bail on extractvalue's with more than 1 index.
The replacement code only looks at the first index of the
extractvalue. If there are additional indices we'll end
up doing a bad replacement.
This only happens if the function returns a nested struct. Not
sure if clang ever generates such code. The original report came
from ispc.
Fixes PR43857
Differential Revision: https://reviews.llvm.org/D69656
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues.cpp')
0 files changed, 0 insertions, 0 deletions

