This is an archive of the discontinued LLVM Phabricator instance.

Refactor code and create getFallThrough method.
AbandonedPublic

Authored by jsjodin on Oct 6 2016, 10:51 AM.

Details

Summary

This creates a new method to get the fall through block from a machine basic block.

Diff Detail

Event Timeline

jsjodin updated this revision to Diff 73822.Oct 6 2016, 10:51 AM
jsjodin retitled this revision from to Refactor code and create getFallThrough method..
jsjodin updated this object.
jsjodin added a reviewer: asl.Oct 6 2016, 11:03 AM
jsjodin updated this revision to Diff 73921.Oct 7 2016, 5:28 AM

Add missing .h file.

jsjodin updated this revision to Diff 73922.Oct 7 2016, 5:30 AM

Fix whitespace

arsenm added inline comments.Oct 12 2016, 9:15 AM
lib/CodeGen/MachineBasicBlock.cpp
717–719

This can be moved to the header (or maybe just replaced)

jsjodin updated this revision to Diff 79127.Nov 23 2016, 11:01 AM

Put implementation of canFallThrough to the header.

jsjodin marked an inline comment as done.Nov 23 2016, 11:02 AM

Moved the canFallThrough code to the header file.

jsjodin updated this revision to Diff 79129.Nov 23 2016, 11:04 AM

Add missing file.

jsjodin abandoned this revision.Nov 30 2016, 9:29 AM

Will create new diff and add correct mailing list.