Skip to content

Commit d1fa435

Browse files
1 parent 9f72fab commit d1fa435

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -480,11 +480,10 @@ ABISysV_arc::GetReturnValueObjectSimple(Thread &thread,
480480
}
481481
// Floating point return type.
482482
else if (type_flags & eTypeIsFloat) {
483-
uint32_t float_count = 0;
484483
bool is_complex = false;
485484

486-
if (compiler_type.IsFloatingPointType(float_count, is_complex) &&
487-
1 == float_count && !is_complex) {
485+
if (compiler_type.IsFloatingPointType(is_complex) &&
486+
!compiler_type.IsVectorType() && !is_complex) {
488487
const size_t byte_size =
489488
llvm::expectedToOptional(compiler_type.GetByteSize(&thread))
490489
.value_or(0);

0 commit comments

Comments
 (0)