[PATCH] D78413: Require "target datalayout" to be at the beginning of an IR file.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 17 19:40:51 PDT 2020


efriedma created this revision.
efriedma added reviewers: dexonsmith, mehdi_amini, jdoerfert, lebedev.ri.
Herald added subscribers: bmahjour, hiraditya.
Herald added a project: LLVM.
efriedma added a child revision: D78403: Infer alignment of loads with unspecified alignment in IR/bitcode parsing..

This will allow us to use the datalayout to disambiguate other constructs in IR, like load alignment. Split off from D78403 <https://reviews.llvm.org/D78403>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78413

Files:
  llvm/lib/AsmParser/LLParser.cpp
  llvm/lib/AsmParser/LLParser.h
  llvm/test/Analysis/DependenceAnalysis/NonCanonicalizedSubscript.ll
  llvm/test/Analysis/ScalarEvolution/2012-05-29-MulAddRec.ll
  llvm/test/Transforms/InstCombine/2012-09-17-ZeroSizedAlloca.ll
  llvm/test/Transforms/InstCombine/getelementptr-folding.ll
  llvm/test/Transforms/InstCombine/overflow-mul.ll
  llvm/test/Transforms/InstCombine/wcslen-3.ll
  llvm/test/Transforms/LoopIdiom/X86/popcnt.ll
  llvm/test/Transforms/LoopVectorize/explicit_outer_nonuniform_inner.ll
  llvm/test/Transforms/LoopVectorize/explicit_outer_uniform_diverg_branch.ll
  llvm/test/Transforms/NewGVN/pr33187.ll
  llvm/test/Transforms/NewGVN/refine-stores.ll
  llvm/test/Transforms/SafeStack/X86/call.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78413.258467.patch
Type: text/x-patch
Size: 12154 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200418/d96e7953/attachment.bin>


More information about the llvm-commits mailing list