This is an archive of the discontinued LLVM Phabricator instance.

[LoopUnswitch] Preserve make.implicit metadata for unswitched conditions
ClosedPublic

Authored by chenli on Aug 5 2015, 10:32 AM.

Details

Summary

This patch adds support to preserve make.implicit metadata for unswitched conditions in loop pre-header.

Diff Detail

Event Timeline

chenli updated this revision to Diff 31368.Aug 5 2015, 10:32 AM
chenli retitled this revision from to [LoopUnswitch] Preserve make.implicit metadata for unswitched conditions.
chenli updated this object.
chenli added a reviewer: sanjoy.
chenli added a subscriber: llvm-commits.
mcrosier added a subscriber: mcrosier.

I'm not the proper person to review this change, but I have added Weiming who may be able to assist.

test/Transforms/LoopUnswitch/copy-metadata.ll
24

Please add a newline at the end of the test case.

chenli updated this revision to Diff 31380.Aug 5 2015, 11:19 AM

Updated w.r.t Chad's comments.

chenli marked an inline comment as done.Aug 5 2015, 11:19 AM
sanjoy edited edge metadata.Aug 5 2015, 11:53 AM

Please upload the diff with full context.

chenli updated this revision to Diff 31386.Aug 5 2015, 11:55 AM
chenli edited edge metadata.

Add full context for the diff.

weimingz accepted this revision.Aug 5 2015, 12:30 PM
weimingz edited edge metadata.

LGTM

This revision is now accepted and ready to land.Aug 5 2015, 12:30 PM
chenli closed this revision.Aug 5 2015, 2:14 PM