Closed
Conversation
The test currently fails with
```
error: 'error' diagnostics seen but not expected:
File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 20: 'Owner' attribute takes one argument
File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 21: 'Pointer' attribute takes one argument
File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 24: expected '(' for function-style cast or type construction
File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 24: expected '(' for function-style cast or type construction
File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 26: expected '(' for function-style cast or type construction
File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 26: expected '(' for function-style cast or type construction
File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 27: expected '(' for function-style cast or type construction
File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 27: expected '(' for function-style cast or type construction
File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 29: expected '(' for function-style cast or type construction
File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 29: expected '(' for function-style cast or type construction
File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 30: expected '(' for function-style cast or type construction
File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 30: expected '(' for function-style cast or type construction
File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 32: expected '(' for function-style cast or type construction
File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 33: expected '(' for function-style cast or type construction
File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 35: expected '(' for function-style cast or type construction
File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 36: 'S' does not refer to a value
error: 'note' diagnostics seen but not expected:
File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 8: declared here
```
Collaborator
|
Please follow http://llvm.org/docs/Contributing.html#how-to-submit-a-patch for contribution to LLVM. We do not accept pull requests here. |
Contributor
Author
|
Wrong target, sorry for the noise. |
cmtice
referenced
this pull request
May 3, 2023
https://llvm.org/docs/LangRef.html#llvm-powi-intrinsic The max length of the integer power of `llvm.powi` intrinsic is 32, and the value can be negative. If we use `int32_t` to store this value, `-Val` will underflow when it is `INT32_MIN` The issue was reported in D149033.
ronlieb
referenced
this pull request
Dec 31, 2025
Move the logic to compute cast costs to getCostForRecipeWithOpcode and use for VPReplicateRecipe. This should match the costs computed by the legacy cost model for scalar casts.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The test currently fails with