aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/SymbolicFile.cpp
diff options
context:
space:
mode:
authorDavid Sherwood <david.sherwood@arm.com>2020-06-04 15:53:06 +0100
committerDavid Sherwood <david.sherwood@arm.com>2020-06-08 15:20:18 +0100
commit41fb119e8cce45a9458d72962cc3c07cb503586e (patch)
tree618d4598b2139fa9b77b9f0ee884ec87f95b930e /llvm/lib/Object/SymbolicFile.cpp
parent5f7e38d8f4cabf8b727e1a5ff16369f641507bcb (diff)
downloadllvm-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