This is an archive of the discontinued LLVM Phabricator instance.

[X86] Replace __m[128|256|512]bh with __m[128|256|512]i and mark the former deprecated
AbandonedPublic

Authored by pengfei on Feb 23 2022, 7:12 AM.

Details

Summary

As discussed on D120395, we should prohibit arithmetic operations for
m[128|256|512]bh as well. But them may be used for ABI type in future,
so replace them with
m[128|256|512]i.

Diff Detail

Event Timeline

pengfei requested review of this revision.Feb 23 2022, 7:12 AM
pengfei created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 23 2022, 7:12 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
andrew.w.kaylor requested changes to this revision.Feb 25 2022, 1:04 PM
andrew.w.kaylor added a subscriber: andrew.w.kaylor.

Replacing __m128bh with __m128i does not prevent arithmetic operations on the type.

This revision now requires changes to proceed.Feb 25 2022, 1:04 PM
pengfei abandoned this revision.Oct 23 2022, 7:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 23 2022, 7:32 PM
Herald added a subscriber: StephenFan. · View Herald Transcript