This is an archive of the discontinued LLVM Phabricator instance.

[ARM] FP16: support VACGT
ClosedPublic

Authored by SjoerdMeijer on Aug 3 2018, 3:17 AM.

Details

Summary

I love 1 character fixes. ;-) And vcagt_f16 was actually already passing, so just enabled the test.

Diff Detail

Event Timeline

SjoerdMeijer created this revision.Aug 3 2018, 3:17 AM
olista01 accepted this revision.Aug 7 2018, 7:23 AM

Ont nit, other than that LGTM.

test/CodeGen/ARM/armv8.2a-fp16-vector-intrinsics.ll
525

The test is "vcagt", but the intrincic/instruction is "vacgt".

This revision is now accepted and ready to land.Aug 7 2018, 7:23 AM
SjoerdMeijer added inline comments.Aug 7 2018, 7:27 AM
test/CodeGen/ARM/armv8.2a-fp16-vector-intrinsics.ll
525

Thanks, I will fix the typo before committing.

SjoerdMeijer added inline comments.Aug 7 2018, 8:00 AM
test/CodeGen/ARM/armv8.2a-fp16-vector-intrinsics.ll
525

Mmmm.... it's not a typo: the reason is because the ACLE intrinsic is called "vcagt". I will therefore keep it as it is...

561

But will remove this test, because we don't have an int_arm_neon_vaclt intrinsic, and instead generate/use vcagt.

This revision was automatically updated to reflect the committed changes.