This PR does not introduce any functional changes. It cleans up code in LowerToLLVM.cpp and creates all LLVM intrinsic calls through the unified createCallLLVMIntrinsicOp function, as suggested by this comment in #556 .
Some LLVM intrinsics already have specialized LLVMIR operations. CIR operations that depend on these intrinsics are lowered to those specialized operations rather than llvm.call_intrinsic operation.
This PR does not introduce any functional changes. It cleans up code in
LowerToLLVM.cpp
and creates all LLVM intrinsic calls through the unifiedcreateCallLLVMIntrinsicOp
function, as suggested by this comment in #556 .Some LLVM intrinsics already have specialized LLVMIR operations. CIR operations that depend on these intrinsics are lowered to those specialized operations rather than
llvm.call_intrinsic
operation.