This is an archive of the discontinued LLVM Phabricator instance.

[ARM][NEON] Add support for ISD::ABS lowering
ClosedPublic

Authored by RKSimon on May 6 2017, 7:05 AM.

Details

Summary

Update NEON int_arm_neon_vabs intrinsic to use the ISD::ABS opcode directly

Added constant folding tests - I'm not sure what is the accepted ARM approach for testing constants.

Diff Detail

Repository
rL LLVM

Event Timeline

RKSimon created this revision.May 6 2017, 7:05 AM
jmolloy accepted this revision.May 8 2017, 12:48 AM

LGTM, thanks!

This revision is now accepted and ready to land.May 8 2017, 12:48 AM
This revision was automatically updated to reflect the committed changes.