This is an archive of the discontinued LLVM Phabricator instance.

Delete (most) of the MMX builtin functions from Clang.
Needs ReviewPublic

Authored by jyknight on Jan 7 2021, 11:40 AM.

Details

Summary

After switching the headers to implement the intrinsics using SSE2
(see https://reviews.llvm.org/D86855), these builtins are now unused.

Only 3 remain -- builtin_ia32_emms, still used by _mm_empty(), and
builtin_ia32_vec_{ext,set}_v4si, used by _mm_insert_pi16 and
_mm_extract_pi16, which lower to generic non-MMX IR.

Also update the clang/www/builtins.py with mappings for the
newly-removed builtins to their corresponding intrinsic functions.

Diff Detail

Event Timeline

jyknight requested review of this revision.Jan 7 2021, 11:40 AM
jyknight created this revision.
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 7 2021, 11:40 AM
mr-c added a subscriber: mr-c.May 27 2023, 3:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 27 2023, 3:31 AM
Herald added a subscriber: StephenFan. · View Herald Transcript
clang/test/CodeGen/palignr.c