This is an archive of the discontinued LLVM Phabricator instance.

[X86] [PATCH] [intrinsics] Lowering X86 ABS intrinsics to IR. (llvm)
ClosedPublic

Authored by uriel.k on Sep 11 2017, 8:09 AM.

Details

Summary

This patch, together with a matching clang patch (https://reviews.llvm.org/D37694), implements the lowering of X86 ABS intrinsics to IR.

Diff Detail

Event Timeline

uriel.k created this revision.Sep 11 2017, 8:09 AM
uriel.k retitled this revision from [X86] [PATCH] [intrinsics] Lowering X86 ABS intrinsics to IR. to [X86] [PATCH] [intrinsics] Lowering X86 ABS intrinsics to IR. (llvm).Sep 11 2017, 8:15 AM
uriel.k edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Sep 11 2017, 9:34 AM
craig.topper requested changes to this revision.Sep 11 2017, 9:36 AM

/Can you update the avx2-intrinsics-fast-isel.ll test too? It should use the native IR implementation now instead of the intrinsic. It's supposed to match the IR clang will generate.

This revision now requires changes to proceed.Sep 11 2017, 9:36 AM
uriel.k updated this revision to Diff 114776.EditedSep 12 2017, 1:27 AM
uriel.k edited edge metadata.

Updated IR code in avx2-intrinsics-fast-isel.ll and ssse3-intrinsics-fast-isel.ll (figured this file should also be updated) to have the IR code generated from clang for the ABS intrinsics instead of the intrinsics' calls.

This revision is now accepted and ready to land.Sep 12 2017, 10:27 AM
uriel.k closed this revision.Sep 13 2017, 3:36 AM

committed in rL313134