Skip to content
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

[CIR][CIRGen][Builtin][Neon] Lower vqrshrun_n and add getAArch64SIMDIntrinsicString #899

Merged
merged 2 commits into from
Sep 30, 2024

Conversation

ghehg
Copy link
Collaborator

@ghehg ghehg commented Sep 30, 2024

as title.
In addition, this PR has 2 extra changes.

  1. change return type of GetNeonType into mlir::cir::VectorType so we don't have to do cast all the time, this is consistent with OG as well.
  2. add getAArch64SIMDIntrinsicString helper function so we have better debug info when hitting NYI in buildCommonNeonBuiltinExpr

@bcardosolopes bcardosolopes merged commit cf1896b into llvm:main Sep 30, 2024
7 checks passed
Hugobros3 pushed a commit to shady-gang/clangir that referenced this pull request Oct 2, 2024
…ntrinsicString (llvm#899)

as title.
In addition, this PR has 2 extra changes.

1. change return type of GetNeonType into mlir::cir::VectorType so we
don't have to do cast all the time, this is consistent with
[OG](https://github.com/llvm/clangir/blob/db6b7c07c076cb738d0acae248d7c3c199b2b952/clang/lib/CodeGen/CGBuiltin.cpp#L6234)
as well.
2. add getAArch64SIMDIntrinsicString helper function so we have better
debug info when hitting NYI in buildCommonNeonBuiltinExpr

---------

Co-authored-by: Guojin He <[email protected]>
smeenai pushed a commit to smeenai/clangir that referenced this pull request Oct 9, 2024
…ntrinsicString (llvm#899)

as title.
In addition, this PR has 2 extra changes.

1. change return type of GetNeonType into mlir::cir::VectorType so we
don't have to do cast all the time, this is consistent with
[OG](https://github.com/llvm/clangir/blob/db6b7c07c076cb738d0acae248d7c3c199b2b952/clang/lib/CodeGen/CGBuiltin.cpp#L6234)
as well.
2. add getAArch64SIMDIntrinsicString helper function so we have better
debug info when hitting NYI in buildCommonNeonBuiltinExpr

---------

Co-authored-by: Guojin He <[email protected]>
smeenai pushed a commit to smeenai/clangir that referenced this pull request Oct 9, 2024
…ntrinsicString (llvm#899)

as title.
In addition, this PR has 2 extra changes.

1. change return type of GetNeonType into mlir::cir::VectorType so we
don't have to do cast all the time, this is consistent with
[OG](https://github.com/llvm/clangir/blob/db6b7c07c076cb738d0acae248d7c3c199b2b952/clang/lib/CodeGen/CGBuiltin.cpp#L6234)
as well.
2. add getAArch64SIMDIntrinsicString helper function so we have better
debug info when hitting NYI in buildCommonNeonBuiltinExpr

---------

Co-authored-by: Guojin He <[email protected]>
smeenai pushed a commit to smeenai/clangir that referenced this pull request Oct 9, 2024
…ntrinsicString (llvm#899)

as title.
In addition, this PR has 2 extra changes.

1. change return type of GetNeonType into mlir::cir::VectorType so we
don't have to do cast all the time, this is consistent with
[OG](https://github.com/llvm/clangir/blob/db6b7c07c076cb738d0acae248d7c3c199b2b952/clang/lib/CodeGen/CGBuiltin.cpp#L6234)
as well.
2. add getAArch64SIMDIntrinsicString helper function so we have better
debug info when hitting NYI in buildCommonNeonBuiltinExpr

---------

Co-authored-by: Guojin He <[email protected]>
keryell pushed a commit to keryell/clangir that referenced this pull request Oct 19, 2024
…ntrinsicString (llvm#899)

as title.
In addition, this PR has 2 extra changes.

1. change return type of GetNeonType into mlir::cir::VectorType so we
don't have to do cast all the time, this is consistent with
[OG](https://github.com/llvm/clangir/blob/db6b7c07c076cb738d0acae248d7c3c199b2b952/clang/lib/CodeGen/CGBuiltin.cpp#L6234)
as well.
2. add getAArch64SIMDIntrinsicString helper function so we have better
debug info when hitting NYI in buildCommonNeonBuiltinExpr

---------

Co-authored-by: Guojin He <[email protected]>
lanza pushed a commit that referenced this pull request Nov 5, 2024
…ntrinsicString (#899)

as title.
In addition, this PR has 2 extra changes.

1. change return type of GetNeonType into mlir::cir::VectorType so we
don't have to do cast all the time, this is consistent with
[OG](https://github.com/llvm/clangir/blob/db6b7c07c076cb738d0acae248d7c3c199b2b952/clang/lib/CodeGen/CGBuiltin.cpp#L6234)
as well.
2. add getAArch64SIMDIntrinsicString helper function so we have better
debug info when hitting NYI in buildCommonNeonBuiltinExpr

---------

Co-authored-by: Guojin He <[email protected]>
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