diff options
author | Amir Ayupov <aaupov@fb.com> | 2022-03-21 07:43:08 -0700 |
---|---|---|
committer | Amir Ayupov <aaupov@fb.com> | 2022-03-21 09:25:29 -0700 |
commit | 442e9e1389b51ffb7abd8f59858d92954e53aa90 (patch) | |
tree | 8ef1400af36cad772e4eef7b745b9ffe1e9dfacb /llvm/lib/CodeGen/MachineCopyPropagation.cpp | |
parent | 0239976bec40f7f4f7c4cfb489b0298c289efd6b (diff) | |
download | llvm-442e9e1389b51ffb7abd8f59858d92954e53aa90.zip llvm-442e9e1389b51ffb7abd8f59858d92954e53aa90.tar.gz llvm-442e9e1389b51ffb7abd8f59858d92954e53aa90.tar.bz2 |
[X86][NFC] MnemonicTables: only access RI fields if they're initialized
Fix an issue reported by UBSan.
Test Plan:
Configure with `-DLLVM_USE_SANITIZER="Address;Undefined"`
`ninja llc`
Differential Revision: https://reviews.llvm.org/D122140
Diffstat (limited to 'llvm/lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions