diff options
author | Vitaly Buka <vitalybuka@google.com> | 2018-09-26 22:58:53 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2018-09-26 22:58:53 +0000 |
commit | 5d08581d1961937ba4af5adbf2f484e449a045d5 (patch) | |
tree | e3aa0639a47ec4e5c00c0175d0c30c0828171fb2 /llvm/lib/CodeGen/MachineCopyPropagation.cpp | |
parent | 9fdfb6678052903c74eb1cd59c36b271ee300cba (diff) | |
download | llvm-5d08581d1961937ba4af5adbf2f484e449a045d5.zip llvm-5d08581d1961937ba4af5adbf2f484e449a045d5.tar.gz llvm-5d08581d1961937ba4af5adbf2f484e449a045d5.tar.bz2 |
Init LookupResult::AmbiguityKind
We don't expect useful value there unless it's "ambiguous".
However we use read it for copying and moving, so we need either init the field
add login to avoid reading invalid values. Such reads trigger ubsan errors.
llvm-svn: 343150
Diffstat (limited to 'llvm/lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions