[clang] [Clang] Fix crash for incompatible types in inline assembly (PR #119098)

Yanzuo Liu via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 7 20:35:08 PST 2024


================
@@ -365,3 +365,9 @@ void test19(long long x)
   // FIXME: This case should be supported by codegen, but it fails now.
   asm ("" : "=rm" (x): "0" (e)); // expected-error {{unsupported inline asm: input with type 'st_size128' (aka 'struct _st_size128') matching output with type 'long long'}}
 }
+
+// PR119098
----------------
zwuis wrote:

```suggestion
// GH118892
```


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


More information about the cfe-commits mailing list