[PATCH] Remove getDataLayout() from Instruction/GlobalValue/BasicBlock/Function

Mehdi AMINI mehdi.amini at apple.com
Mon Mar 2 22:08:42 PST 2015


Hi echristo, chandlerc,

This does not conceptually belongs here. Instead provide a shortcut
getModule() that provides access to the DataLayout.

http://reviews.llvm.org/D8027

Files:
  include/llvm/IR/BasicBlock.h
  include/llvm/IR/GlobalValue.h
  include/llvm/IR/Instruction.h
  lib/Analysis/IPA/InlineCost.cpp
  lib/Analysis/Loads.cpp
  lib/IR/BasicBlock.cpp
  lib/IR/Globals.cpp
  lib/IR/Instruction.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8027.21082.patch
Type: text/x-patch
Size: 5772 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150303/8dd611be/attachment.bin>


More information about the llvm-commits mailing list