[clang] [InlineAsm] Diagnose pointer input tied to larger aggregate output (PR #206230)

via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 27 01:55:24 PDT 2026


tengwu wrote:

Hi @Sirraide, could you please review this change?

This issue manifests as a crash in SelectionDAGBuilder while lowering inline asm. The patch adds a check in Clang Sema to diagnose and reject the invalid operand combination before CodeGen, rather than handling it in SelectionDAG.

CC @RKSimon for visibility and for feedback on whether rejecting this construct in Sema is the appropriate fix from the SelectionDAG/X86 CodeGen perspective.

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


More information about the cfe-commits mailing list