This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Eliminate compares - add handling for SELECT and SELECT_CC without the use of the condition register
AbandonedPublic

Authored by nemanjai on Apr 8 2017, 10:10 AM.

Details

Summary

This patch adds the code gen and test cases for:

  • SELECT fed by SETCC
  • SELECT_CC where the results are 0/pwrOf2 and the values compared are i32/i64
  • Comparison operators (where two unsigned values are compared and the result is -1/0/1 depending on whether the first is less/equal/greater)

Diff Detail

Repository
rL LLVM

Event Timeline

lei commandeered this revision.Apr 10 2017, 12:20 PM
lei edited reviewers, added: nemanjai; removed: lei.
nemanjai commandeered this revision.Apr 12 2017, 11:48 AM
nemanjai edited reviewers, added: lei; removed: nemanjai.
nemanjai edited edge metadata.

Temporarily commandeering this revision to update it with a more reasonable split of the initial patch.

nemanjai updated this revision to Diff 95012.Apr 12 2017, 11:52 AM
nemanjai retitled this revision from [PowerPC] Eliminate compares in instruction selection - Vol. 4 to [PowerPC] Eliminate compares - add handling for SELECT and SELECT_CC without the use of the condition register.
nemanjai edited the summary of this revision. (Show Details)
lei commandeered this revision.Apr 17 2017, 1:00 PM
lei removed a reviewer: lei.
nemanjai commandeered this revision.May 11 2017, 1:29 PM
nemanjai abandoned this revision.
nemanjai edited reviewers, added: lei; removed: nemanjai.

This is being split into smaller patches. Abandoning the large patch.