[PATCH] D14483: Destructor loads of struct that do not contains padding in InstCombine.

Amaury SECHET via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 8 17:20:36 PST 2015


deadalnix updated this revision to Diff 42256.
deadalnix added a comment.

Do not steal a bit from StructLayout.

Maybe that will make this less controversial. Yet I kind of feel bad over computing this again and again.


http://reviews.llvm.org/D14483

Files:
  include/llvm/IR/DataLayout.h
  lib/IR/DataLayout.cpp
  lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  lib/Transforms/InstCombine/InstructionCombining.cpp
  test/Transforms/InstCombine/cast.ll
  test/Transforms/InstCombine/extractvalue.ll
  test/Transforms/InstCombine/unpack-fca.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14483.42256.patch
Type: text/x-patch
Size: 16921 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151209/b3c6befb/attachment.bin>


More information about the llvm-commits mailing list