This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen][X86] Emit fshl/fshr ir intrinsics for shiftleft128/shiftright128 ms intrinsics
ClosedPublic

Authored by RKSimon on Oct 14 2020, 9:59 AM.

Details

Summary

Now that funnel shift handling is pretty good, we can use the intrinsics directly and avoid a lot of zext/trunc issues.

https://godbolt.org/z/YqhnnM

Diff Detail

Event Timeline

RKSimon created this revision.Oct 14 2020, 9:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 14 2020, 9:59 AM
Herald added a subscriber: pengfei. · View Herald Transcript
RKSimon requested review of this revision.Oct 14 2020, 9:59 AM
This revision is now accepted and ready to land.Oct 14 2020, 11:58 PM