This is an archive of the discontinued LLVM Phabricator instance.

ComputeSignBits: look through SELECT_CC, not just SELECT
AbandonedPublic

Authored by escha on Aug 28 2015, 10:04 AM.

Details

Summary

Should be pretty trivial, just a copy-paste of the SELECT case.

Diff Detail

Repository
rL LLVM

Event Timeline

escha updated this revision to Diff 33438.Aug 28 2015, 10:04 AM
escha retitled this revision from to ComputeSignBits: look through SELECT_CC, not just SELECT.
escha updated this object.
escha set the repository for this revision to rL LLVM.
escha added reviewers: resistor, majnemer.
escha added a subscriber: llvm-commits.
arsenm accepted this revision.Aug 28 2015, 10:16 AM
arsenm added a reviewer: arsenm.
arsenm added a subscriber: arsenm.

LGTM.

Is it possible to construct a test with an in tree target?

This revision is now accepted and ready to land.Aug 28 2015, 10:16 AM

I'm not really sure; it only came up when experimenting with out-of-tree optimizations for a target that uses SELECT_CC and not SELECT. It should be identical code though.

escha abandoned this revision.Aug 29 2015, 4:05 PM