diff options
| author | David Sherwood <david.sherwood@arm.com> | 2020-06-04 15:53:06 +0100 | 
|---|---|---|
| committer | David Sherwood <david.sherwood@arm.com> | 2020-06-08 15:20:18 +0100 | 
| commit | 41fb119e8cce45a9458d72962cc3c07cb503586e (patch) | |
| tree | 618d4598b2139fa9b77b9f0ee884ec87f95b930e /llvm/lib/Object/SymbolicFile.cpp | |
| parent | 5f7e38d8f4cabf8b727e1a5ff16369f641507bcb (diff) | |
| download | llvm-41fb119e8cce45a9458d72962cc3c07cb503586e.zip llvm-41fb119e8cce45a9458d72962cc3c07cb503586e.tar.gz llvm-41fb119e8cce45a9458d72962cc3c07cb503586e.tar.bz2 | |
[CodeGen] Fix nullptr crash in tryConvertSVEWideCompare
When the input to a wide compare instruction is a DUP or SPLAT_VECTOR
node we should deal with cases where the DUP/SPLAT_VECTOR input
operand is not an immediate value. I've fixed the code to return
SDValue() in such cases and added a couple of tests - one each to
represent the signed and unsigned cases.
Differential Revision: https://reviews.llvm.org/D81167
Diffstat (limited to 'llvm/lib/Object/SymbolicFile.cpp')
0 files changed, 0 insertions, 0 deletions
