diff options
| author | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2017-04-07 12:35:11 +0000 |
|---|---|---|
| committer | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2017-04-07 12:35:11 +0000 |
| commit | cad72efee66509040febd634088b1360dc428be3 (patch) | |
| tree | bba61fe1fa9e77823f08de1010f7a767a8c48df5 /llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp | |
| parent | 16100c637ee238b4a0372b379ac31374fd9c1e24 (diff) | |
| download | bcm5719-llvm-cad72efee66509040febd634088b1360dc428be3.tar.gz bcm5719-llvm-cad72efee66509040febd634088b1360dc428be3.zip | |
[SystemZ] Check for presence of vector support in SystemZISelLowering
A test case was found with llvm-stress that caused DAGCombiner to crash
when compiling for an older subtarget without vector support.
SystemZTargetLowering::combineTruncateExtract() should do nothing for older
subtargets.
This check was placed in canTreatAsByteVector(), which also helps in a few
other places.
Review: Ulrich Weigand
llvm-svn: 299763
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions

