[PATCH] D102726: [IR][AutoUpgrade] Drop alignment from non-pointer parameters and returns

Steven Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 19 14:19:20 PDT 2021


steven_wu updated this revision to Diff 346569.
steven_wu added a comment.

Address review feedback. Now remove all incompatible attributes from non pointer type.

Maybe we can expand more to try to upgrade everything including pointer type as well.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102726

Files:
  llvm/include/llvm/IR/Argument.h
  llvm/include/llvm/IR/InstrTypes.h
  llvm/lib/Bitcode/Reader/BitcodeReader.cpp
  llvm/lib/IR/AutoUpgrade.cpp
  llvm/lib/IR/Function.cpp
  llvm/test/Bitcode/upgrade-incompatible-func-attr-11.0.ll
  llvm/test/Bitcode/upgrade-incompatible-func-attr-11.0.ll.bc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102726.346569.patch
Type: text/x-patch
Size: 4842 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210519/c3be1ef4/attachment.bin>


More information about the llvm-commits mailing list