Skip to content

Backport fix for include/__clang_cuda_math.h:39:25: warning: extra tokens at end of #ifdef directive [-Wextra-tokens] in LLVM 17 #64718

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
joker-eph opened this issue Aug 15, 2023 · 3 comments · Fixed by llvm/llvm-project-release-prs#592
Labels
clang:headers Headers provided by Clang, e.g. for intrinsics release:backport release:merged

Comments

@joker-eph
Copy link
Collaborator

c49142e fixed this warning:

include/__clang_cuda_math.h:39:25: warning: extra tokens at end of #ifdef directive [-Wextra-tokens]
```                            ^

@joker-eph
Copy link
Collaborator Author

/cherry-pick c49142e

@llvmbot
Copy link
Member

llvmbot commented Aug 15, 2023

/branch llvm/llvm-project-release-prs/issue64718

@llvmbot
Copy link
Member

llvmbot commented Aug 15, 2023

/pull-request llvm/llvm-project-release-prs#592

@tru tru moved this from Needs Triage to Needs Review in LLVM Release Status Aug 16, 2023
@tru tru moved this from Needs Review to Done in LLVM Release Status Aug 16, 2023
bjope added a commit to bjope/llvm-project that referenced this issue Jul 22, 2024
Allow pushing freeze through SETCC and SELECT_CC even if there are
multiple "maybe poison" operands. In the past we have limited it to
a single "maybe poison" operand, but it seems profitable to also
allow the multiple operand scenario.

One goal here is to avoid some regressions seen in review of
  llvm#84924
when solving the select->and miscompiles described in
  llvm#84653
yuxuanchen1997 pushed a commit that referenced this issue Jul 25, 2024
Summary:
Allow pushing freeze through SETCC and SELECT_CC even if there are
multiple "maybe poison" operands. In the past we have limited it to
a single "maybe poison" operand, but it seems profitable to also
allow the multiple operand scenario.

One goal here is to avoid some regressions seen in review of
  #84924
when solving the select->and miscompiles described in
  #84653

Test Plan: 

Reviewers: 

Subscribers: 

Tasks: 

Tags: 


Differential Revision: https://phabricator.intern.facebook.com/D60251168
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang:headers Headers provided by Clang, e.g. for intrinsics release:backport release:merged
Projects
Development

Successfully merging a pull request may close this issue.

3 participants