[PATCH] D25096: [RS4GC] New pass to remove gc.relocates added by RS4GC

Anna Thomas via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 14 09:19:34 PDT 2016


anna updated this revision to Diff 74701.
anna added a comment.
Herald added a subscriber: modocache.

[StripGCRelocates] Added test cases. Changed pass name to strip-gc-relocates
Please take a look at test5, this is somewhat of a grey area. Do we want to remove the relocates
and add a bit cast? This is the second TODO in the list:
gc.relocate of different type than the original pointer, but all uses are of the same type
as gc.relocate.


https://reviews.llvm.org/D25096

Files:
  include/llvm/InitializePasses.h
  include/llvm/Transforms/Scalar.h
  lib/Transforms/Utils/CMakeLists.txt
  lib/Transforms/Utils/RemoveGCRelocates.cpp
  lib/Transforms/Utils/Utils.cpp
  test/Transforms/Util/strip-gc-relocates.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25096.74701.patch
Type: text/x-patch
Size: 13379 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161014/f33d8f89/attachment.bin>


More information about the llvm-commits mailing list