Skip to content

Conversation

@ayokunle321
Copy link
Contributor

@ayokunle321 ayokunle321 commented Mar 20, 2025

Closes: #1374

Replaces LLVMIntrinsicCallOp with ACosOp in __builtin_elementwise_acos.

@bcardosolopes @FantasqueX! If this is all good I was wondering if I could do ASinOp and ATanOp.

@ayokunle321 ayokunle321 changed the title Replace builtin_acos [CIR][CIRGen] Replace LLVMIntrinsicCallOp with ACosOp in __builtin_elementwise_acos Mar 20, 2025
Copy link
Member

@bcardosolopes bcardosolopes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM pending one minor nit. Thanks for the review @FantasqueX

@github-actions
Copy link

github-actions bot commented Mar 20, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

@bcardosolopes
Copy link
Member

@ayokunle321 please run clang-format before updating the PR

Copy link
Collaborator

@FantasqueX FantasqueX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM once CI passed

@ayokunle321
Copy link
Contributor Author

@bcardosolopes done! could I work on atan and asin since they're similar?

@bcardosolopes
Copy link
Member

@bcardosolopes done! could I work on atan and asin since they're similar?

hell yea!

@ayokunle321 ayokunle321 changed the title [CIR][CIRGen] Replace LLVMIntrinsicCallOp with ACosOp in __builtin_elementwise_acos [CIR][CodeGen] Replace LLVMIntrinsicCallOp with ACosOp in __builtin_elementwise_acos Mar 21, 2025
@FantasqueX FantasqueX merged commit cfa859c into llvm:main Mar 21, 2025
9 checks passed
@FantasqueX
Copy link
Collaborator

Landed! Thanks for your contribution! @ayokunle321

terapines-osc-cir pushed a commit to Terapines/clangir that referenced this pull request Sep 2, 2025
…lementwise_acos (llvm#1507) Closes: llvm#1374 Replaces LLVMIntrinsicCallOp with ACosOp in __builtin_elementwise_acos.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants