heturing

Results comments of heturing

Hello. I'd like to work on this.

Hi @lenary, I have opened a PR for this issue. I have not testing the changes yet, and I’m currently testing them in a RISC-V Linux under QEMU.

I will pose a separate PR later for `RISCV_HWPROBE_KEY_CPUPERF_0`.

@lenary For the second part, I looked into `riscv.c` and found that `RISCV_HWPROBE_KEY_CPUPERF_0` is only defined as a macro and not actually used. It seems that the current `riscv.c` design...

I took a look into`CGCall.cpp` and `CGExpr.cpp`. I think the problem is that the call to `EmitCallArgs` in `CodeGenFunction::EmitCall` passes a `nullptr` as the `AC` parameter, which causes the lambda...

Hi @tylerlumsden. Are you working on the issue. If not, I can open a PR tomorrow.