[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
Sat Jun 20 01:19:09 PDT 2026


================
@@ -1,25 +1,25 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt %s -inline-asm-prepare -S -o - | FileCheck %s
-; RUN: opt %s -passes=inline-asm-prepare -S -o - | FileCheck %s
+; RUN: opt %s -mtriple=aarch64-unknown-unknown -inline-asm-prepare -S -o - | FileCheck %s
----------------
isanbard wrote:

It's needed because this patch adds the TargetMachine to the InlineAsmPrepare pass, which requires a `mtriple` for the `opt` command.

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


More information about the cfe-commits mailing list