Page MenuHomePhabricator

[x86] add folds for x86 vector compare nodes (PR27924)

Authored by spatel on Jun 14 2016, 3:01 PM.



Ideally, we can get rid of most x86 LLVM intrinsics by transforming them to IR, but it doesn't cost much to have some simple folds in the backend too while we're working on that and as a backstop.

This fixes:

I am planning to work on the IR upgrades too to avoid these kinds of problems earlier.

Diff Detail


Event Timeline

spatel updated this revision to Diff 60766.Jun 14 2016, 3:01 PM
spatel retitled this revision from to [x86] add folds for x86 vector compare nodes (PR27924).
spatel updated this object.
spatel added reviewers: craig.topper, RKSimon, ab.
spatel added a subscriber: llvm-commits.
RKSimon accepted this revision.Jun 15 2016, 7:24 AM
RKSimon edited edge metadata.


This revision is now accepted and ready to land.Jun 15 2016, 7:24 AM
This revision was automatically updated to reflect the committed changes.