[PATCH] D91806: [SVE] Remove warning from debug info on scalable vector.

Francesco Petrogalli via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 27 09:40:17 PST 2020


fpetrogalli updated this revision to Diff 308078.
fpetrogalli added a comment.

Reverted `getFragmentSizeInBits` to return an integral type and not `TypeSize`, because scalable variables cannot be part of structs/arrays - hence they cannot be pointed by fragments.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91806

Files:
  llvm/lib/Transforms/Utils/Debugify.cpp
  llvm/lib/Transforms/Utils/Local.cpp
  llvm/test/Transforms/InstCombine/debug-declare-no-warnings-on-scalable-vectors.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91806.308078.patch
Type: text/x-patch
Size: 5541 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201127/55465b14/attachment.bin>


More information about the cfe-commits mailing list