[Lldb-commits] [PATCH] D77587: [SVE] Add new VectorType subclasses

Sander de Smalen via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 14 14:39:24 PDT 2020


sdesmalen added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp:411
         SmallVector<Value *, 32> WhatToStore;
-        if (ArgType->isFPOrFPVectorTy() &&
-            (ArgType->getTypeID() != Type::VectorTyID)) {
+        if (ArgType->isFPOrFPVectorTy() && isa<FixedVectorType>(ArgType)) {
           Type *IType = (ArgType->isFloatTy()) ? Int32Ty : Int64Ty;
----------------
should this be `!isa<FixedVectorType>(ArgType)` (i.e. negated)?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77587/new/

https://reviews.llvm.org/D77587





More information about the lldb-commits mailing list