[PATCH] D41832: LLParser: do not verify LLVM module

Yaxun Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 24 14:00:59 PST 2018


yaxunl updated this revision to Diff 131346.
yaxunl added a comment.

Add a command line option to llvm-as to allow set datalayout. Opt already has such option but has a bug. Fixed the bug so that it works properly.
Add lit tests for llvm-as/opt.


https://reviews.llvm.org/D41832

Files:
  include/llvm/IR/Verifier.h
  lib/AsmParser/LLParser.cpp
  lib/IR/Verifier.cpp
  test/Assembler/datalayout-alloca-addrspace-mismatch-0.ll
  test/Assembler/datalayout-alloca-addrspace-mismatch-1.ll
  test/Assembler/datalayout-alloca-addrspace-mismatch-2.ll
  test/CodeGen/AMDGPU/alloca.ll
  test/CodeGen/AMDGPU/fence-barrier.ll
  test/CodeGen/AMDGPU/invalid-alloca.ll
  test/CodeGen/AMDGPU/sched-crash-dbg-value.mir
  tools/llc/llc.cpp
  tools/llvm-as/llvm-as.cpp
  tools/opt/opt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41832.131346.patch
Type: text/x-patch
Size: 18580 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180124/68e8d85b/attachment.bin>


More information about the llvm-commits mailing list