[PATCH] D57685: MIR: Validate LLT types when parsing

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 4 06:29:48 PST 2019


arsenm created this revision.
arsenm added reviewers: dsanders, aemerson, paquette, volkan, aditya_nandakumar.
Herald added subscribers: javed.absar, wdng.

Fixes asserting on anything invalid looking


https://reviews.llvm.org/D57685

Files:
  lib/CodeGen/MIRParser/MIParser.cpp
  test/CodeGen/MIR/AArch64/parse-low-level-type-invalid10.mir
  test/CodeGen/MIR/AArch64/parse-low-level-type-invalid4.mir
  test/CodeGen/MIR/AArch64/parse-low-level-type-invalid5.mir
  test/CodeGen/MIR/AArch64/parse-low-level-type-invalid6.mir
  test/CodeGen/MIR/AArch64/parse-low-level-type-invalid7.mir
  test/CodeGen/MIR/AArch64/parse-low-level-type-invalid8.mir
  test/CodeGen/MIR/AArch64/parse-low-level-type-invalid9.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57685.185038.patch
Type: text/x-patch
Size: 6828 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190204/75fd2fd8/attachment.bin>


More information about the llvm-commits mailing list