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

Can I try to make a lowering operation for cir.cos? #563

Closed
zhoujingya opened this issue Apr 24, 2024 · 1 comment
Closed

Can I try to make a lowering operation for cir.cos? #563

zhoujingya opened this issue Apr 24, 2024 · 1 comment

Comments

@zhoujingya
Copy link
Contributor

zhoujingya commented Apr 24, 2024

Hello, I am newer for cir, and now I find many cir operations which are desired to be lowered to mlir are still not implemented yet, my first intention was lowering cir.cos to math.cos, but I am not sure it is ok or not

@Lancern
Copy link
Member

Lancern commented Apr 25, 2024

my first intention was lowering cir.cos to math.cos, but I am not sure it is ok or not

That looks reasonable. You can always draft a PR and the community can give more solid feedbacks.

bcardosolopes pushed a commit that referenced this issue Apr 25, 2024
#563 This PR add cir.cos lowering to MLIR math dialect, now it only
surpport single and double float types, I add an assertation for the
long double and other unimplemented types

---------

Signed-off-by: zhoujing <jing.zhou@terapines.com>
lanza pushed a commit that referenced this issue Apr 29, 2024
#563 This PR add cir.cos lowering to MLIR math dialect, now it only
surpport single and double float types, I add an assertation for the
long double and other unimplemented types

---------

Signed-off-by: zhoujing <jing.zhou@terapines.com>
lanza pushed a commit that referenced this issue Apr 29, 2024
#563 This PR add cir.cos lowering to MLIR math dialect, now it only
surpport single and double float types, I add an assertation for the
long double and other unimplemented types

---------

Signed-off-by: zhoujing <jing.zhou@terapines.com>
lanza pushed a commit that referenced this issue Apr 29, 2024
#563 This PR add cir.cos lowering to MLIR math dialect, now it only
surpport single and double float types, I add an assertation for the
long double and other unimplemented types

---------

Signed-off-by: zhoujing <jing.zhou@terapines.com>
bruteforceboy pushed a commit to bruteforceboy/clangir that referenced this issue Oct 2, 2024
…m#565)

llvm#563 This PR add cir.cos lowering to MLIR math dialect, now it only
surpport single and double float types, I add an assertation for the
long double and other unimplemented types

---------

Signed-off-by: zhoujing <jing.zhou@terapines.com>
Hugobros3 pushed a commit to shady-gang/clangir that referenced this issue Oct 2, 2024
…m#565)

llvm#563 This PR add cir.cos lowering to MLIR math dialect, now it only
surpport single and double float types, I add an assertation for the
long double and other unimplemented types

---------

Signed-off-by: zhoujing <jing.zhou@terapines.com>
keryell pushed a commit to keryell/clangir that referenced this issue Oct 19, 2024
…m#565)

llvm#563 This PR add cir.cos lowering to MLIR math dialect, now it only
surpport single and double float types, I add an assertation for the
long double and other unimplemented types

---------

Signed-off-by: zhoujing <jing.zhou@terapines.com>
lanza pushed a commit that referenced this issue Nov 5, 2024
#563 This PR add cir.cos lowering to MLIR math dialect, now it only
surpport single and double float types, I add an assertation for the
long double and other unimplemented types

---------

Signed-off-by: zhoujing <jing.zhou@terapines.com>
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

No branches or pull requests

2 participants