[PATCH] D16074: Make sure that any new and optimized objects created during GlobalOPT copy all the attributes from the base object.

Sergei Larin via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 20 10:21:48 PST 2016


slarin updated this revision to Diff 45408.
slarin added a comment.

Implemented suggested changes.

Simplified, but could not fully change MallocSROA-section.ll since for global OPT to trigger properly and not to optimize out the whole test, both local and global objects seem to be needed.


http://reviews.llvm.org/D16074

Files:
  lib/Transforms/IPO/GlobalOpt.cpp
  test/Transforms/GlobalOpt/GSROA-section.ll
  test/Transforms/GlobalOpt/MallocSROA-section.ll
  test/Transforms/GlobalOpt/SROA-section.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16074.45408.patch
Type: text/x-patch
Size: 5336 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160120/8f40ee84/attachment.bin>


More information about the llvm-commits mailing list