Skip to content

Use _tpause also for clang#27442

Closed
JanSellner wants to merge 1 commit intomicrosoft:mainfrom
JanSellner:clang_fix
Closed

Use _tpause also for clang#27442
JanSellner wants to merge 1 commit intomicrosoft:mainfrom
JanSellner:clang_fix

Conversation

@JanSellner
Copy link
Copy Markdown
Contributor

Description

_tpause is also supported when using the clang compiler so that it can be used in this location in the code. The alternative code path which uses __builtin_ia32_tpause lets it fail when using the clang compiler.

Motivation and Context

I read somewhere that you are only supporting gcc but besides that change I was able to compile with clang so maybe you are interested in this simple fix for widening compiler support :-)

@tianleiwu
Copy link
Copy Markdown
Contributor

see #27607

@tianleiwu tianleiwu closed this Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants