This is an archive of the discontinued LLVM Phabricator instance.

Improve ARM lowering for "icmp <2 x i64> eq".
ClosedPublic

Authored by efriedma on Oct 17 2016, 5:56 PM.

Details

Summary

The custom lowering is pretty straightforward: basically, just AND together the two halves of a <4 x i32> compare.

Diff Detail

Repository
rL LLVM

Event Timeline

efriedma updated this revision to Diff 74939.Oct 17 2016, 5:56 PM
efriedma retitled this revision from to Improve ARM lowering for "icmp <2 x i64> eq"..
efriedma updated this object.
efriedma added reviewers: jmolloy, t.p.northover.
efriedma set the repository for this revision to rL LLVM.
efriedma added a subscriber: llvm-commits.
jmolloy accepted this revision.Oct 18 2016, 4:28 AM
jmolloy edited edge metadata.

I had to convince myself that this is correct for big-endian. I think it is, as the transform is symmetric.

LGTM.

This revision is now accepted and ready to land.Oct 18 2016, 4:28 AM
This revision was automatically updated to reflect the committed changes.