[CodeGen] translate MS rotate builtins to LLVM funnel-shift intrinsics
authorSanjay Patel <spatel@rotateright.com>
Sun, 25 Nov 2018 17:53:16 +0000 (17:53 +0000)
committerSanjay Patel <spatel@rotateright.com>
Sun, 25 Nov 2018 17:53:16 +0000 (17:53 +0000)
commitc6fa5bc7c7fa1770c3cbe5b909d0c5156876515a
tree6f662732927327c0c05eb92231f898ea2bcd9d7c
parent7336e7c67a5decf608c7b8f4ef0da571fb505313
[CodeGen] translate MS rotate builtins to LLVM funnel-shift intrinsics

This was originally part of:
D50924

and should resolve PR37387:
https://bugs.llvm.org/show_bug.cgi?id=37387

...but it was reverted because some bots using a gcc host compiler
would crash for unknown reasons with this included in the patch.
Trying again now to see if that's still a problem.

llvm-svn: 347527
clang/lib/CodeGen/CGBuiltin.cpp
clang/test/CodeGen/ms-intrinsics-rotations.c