[clang] Add Function Argument Demotion support (PR #170915)

via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 9 09:49:49 PST 2025


adams381 wrote:

I've addressed all the reviewer feedback:

1. ✅ Changed to use `createFloatingCast` instead of `createCast` with `CastKind::floating`
2. ✅ Added `NakedAttr` check in `emitFunctionProlog` to handle naked functions early
3. ✅ Added LLVM and OGCG checks to `kr-func-promote.c` test file

All changes have been committed and pushed. Ready for re-review!

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


More information about the cfe-commits mailing list