[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
Tue May 14 06:52:31 PDT 2019
probinson accepted this revision.
probinson added a comment.
This revision is now accepted and ready to land.
LGTM after you add the full-stop noted below.
================
Comment at: llvm/lib/Transforms/Utils/Local.cpp:1674
+ Type *Type = CI->getType();
+ // Casts other than Trunc or SExt to scalar types cannot be salvaged
+ if (Type->isVectorTy() || (!isa<TruncInst>(&I) && !isa<SExtInst>(&I)))
----------------
Needs a full-stop at the end of the sentence.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61184/new/
https://reviews.llvm.org/D61184
More information about the llvm-commits
mailing list