[clang] [llvm] [inlineasm] Improve support for multiple inline asm constraints (e.g. "rm") (PR #197798)

Bill Wendling via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 9 01:28:30 PDT 2026


================
@@ -0,0 +1,246 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
+; RUN: llc -mtriple=x86_64-unknown-linux-gnu -O0 < %s | FileCheck --check-prefixes=O0 %s
+; RUN: llc -mtriple=x86_64-unknown-linux-gnu     < %s | FileCheck --check-prefixes=O2 %s
----------------
isanbard wrote:

I had Claude check, and I think we're okay for GlobalISel/SelectionDAG, because `InlineAsmPrepare` runs before either ISel passes are selected. I'll still verify that there's no need for GlobalISel changes. I'll add more tests covering the other points.

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


More information about the cfe-commits mailing list