llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.97k stars 11.94k forks source link

Missing `LLVM_CallIntrinsicOp` support for `elementtype` #115393

Open bcardosolopes opened 2 hours ago

bcardosolopes commented 2 hours ago

In order to lower ARM64 intrinsics down from ClangIR to LLVM, we found that we cannot lower to LLVM intrinsics that might need a elementtype, one example is LLVM intrinsic aarch64.ldxr, which requires elementtype.

llvmbot commented 2 hours ago

@llvm/issue-subscribers-mlir-llvm

Author: Bruno Cardoso Lopes (bcardosolopes)

In order to lower ARM64 intrinsics down from ClangIR to LLVM, we found that we cannot lower to LLVM intrinsics that might need a `elementtype`, one example is LLVM intrinsic `aarch64.ldxr`, which requires `elementtype`.
bcardosolopes commented 2 hours ago

For more ClangIR specific info: https://github.com/llvm/clangir/issues/1070