[CIR] naked asm not supported
Open
ClangIR
enhancement
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
Leaving a tracking issue for naked asm in clang IR. The code currently has an NYI when trying to compile a naked asm function:
https://github.com/llvm/llvm-project/blame/main/clang/lib/CIR/CodeGen/CIRGenFunction.cpp#L440
Contributor guide
Research direction
Start at clang/lib/CIR/CodeGen/CIRGenFunction.cpp around line 440, where the issue reports the NYI for naked asm functions. Reproduce compilation of a naked asm function, trace the CIR code-generation path, and verify that the function compiles without reaching the NYI; the issue does not name a test file.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100