[clang] [clang codegen] Add CreateRuntimeFunction overload that takes a clang type. (PR #113506)

Jonas Paulsson via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 28 03:10:11 PDT 2024


JonPsson1 wrote:

> SetLLVMFunctionAttributes() should add the appropriate signext/zeroext attribute. At least, it appears to work in my testing. I'll add a regression test.

Ah, I see. I ran this now on SystemZ and can confirm that this is now getting the proper extension attributes. A test might not even be needed, considering that this will (hopefully soon by default) be checked on SystemZ (general check in back-end), where it was discovered.

https://github.com/llvm/llvm-project/pull/113506


More information about the cfe-commits mailing list