[PATCH] D61184: [Salvage] Change salvage debug info implementation to use new DW_OP_LLVM_convert where needed

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 13 10:35:29 PDT 2019


probinson added inline comments.


================
Comment at: llvm/lib/Transforms/Utils/Local.cpp:1674
+    Type *Type = CI->getType();
+    // There does not appear to be any op for vector casting.
+    if (Type->isVectorTy() || (!isa<TruncInst>(&I) && !isa<SExtInst>(&I)))
----------------
Looks to me like this 'if' does more than check for vectors?


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

https://reviews.llvm.org/D61184





More information about the llvm-commits mailing list