LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 40653 - Inline _byteswap_* functions for optimized build
Summary: Inline _byteswap_* functions for optimized build
Status: NEW
Alias: None
Product: clang
Classification: Unclassified
Component: Frontend (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P enhancement
Assignee: Unassigned Clang Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-07 16:24 PST by Tom Tan
Modified: 2019-02-07 16:24 PST (History)
3 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Tan 2019-02-07 16:24:21 PST
_byteswap_* series functions (_byteswap_uint64, _byteswap_ulong, _byteswap_ushort) are provided as library functions in libucrt.lib, but MSVC doesn't inline them for optimized build. It will be great to inline them in clang-cl.exe for optimized build.