Make __shiftleft128 / __shiftright128 real compiler built-ins.
authorNico Weber <nicolasweber@gmx.de>
Fri, 17 Aug 2018 17:19:06 +0000 (17:19 +0000)
committerNico Weber <nicolasweber@gmx.de>
Fri, 17 Aug 2018 17:19:06 +0000 (17:19 +0000)
commitb2c53d3393e8a1062625443f25522f337e827209
tree8b268bc75bcd61d36acf74ab61acb4f3e693e1de
parentcb9a82fc7bbe3210d745e26d3e4c5fb5c7002c72
Make __shiftleft128 / __shiftright128 real compiler built-ins.

r337619 added __shiftleft128 / __shiftright128 as functions in intrin.h.
Microsoft's STL plans on using these functions, and they're using intrin0.h
which just has declarations of built-ins to not pull in the huge intrin.h
header in the standard library headers. That requires that these functions are
real built-ins.

https://reviews.llvm.org/D50907

llvm-svn: 340048
clang/include/clang/Basic/BuiltinsX86_64.def
clang/lib/CodeGen/CGBuiltin.cpp
clang/lib/Headers/intrin.h
clang/test/CodeGen/ms-x86-intrinsics.c
clang/test/Headers/ms-intrin.cpp