Page MenuHomePhabricator

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

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

Details

Summary

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:
https://llvm.org/bugs/show_bug.cgi?id=27924

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

Diff Detail

Repository
rL LLVM

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.

LGTM

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.