[PATCH] D32530: [SVE][IR] Scalable Vector IR Type

Graham Hunter via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 16 03:24:12 PDT 2018


huntergr updated this revision to Diff 155640.
huntergr retitled this revision from "[SVE] Scalable Vector IR Type" to "[SVE][IR] Scalable Vector IR Type".
huntergr edited the summary of this revision.
huntergr added a comment.

Indeed, we shouldn't allow scalable vectors to be globals. I've added a check for that in the verifier, plus unit tests and a small update to the langref.  Thanks.


https://reviews.llvm.org/D32530

Files:
  docs/LangRef.rst
  include/llvm/IR/DerivedTypes.h
  include/llvm/IR/Type.h
  lib/AsmParser/LLLexer.cpp
  lib/AsmParser/LLParser.cpp
  lib/AsmParser/LLToken.h
  lib/Bitcode/Reader/BitcodeReader.cpp
  lib/Bitcode/Writer/BitcodeWriter.cpp
  lib/IR/AsmWriter.cpp
  lib/IR/LLVMContextImpl.h
  lib/IR/Type.cpp
  lib/IR/Verifier.cpp
  test/Bitcode/compatibility.ll
  test/Verifier/scalable-global-vars.ll
  unittests/IR/CMakeLists.txt
  unittests/IR/VectorTypesTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32530.155640.patch
Type: text/x-patch
Size: 22487 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180716/0702a56f/attachment.bin>


More information about the llvm-commits mailing list