[llvm] [CodeGen] Enhance inline asm constraint diagnostics (PR #101354)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 31 22:49:41 PDT 2024
================
@@ -2,7 +2,7 @@
; RUN: not llc -o /dev/null %s 2>&1 | FileCheck %s
target triple = "x86_64-unknown-linux-gnu"
-; CHECK: error: couldn't allocate input reg for constraint 'r'
+; CHECK: error: couldn't allocate input reg for constraint 'r': couldn't allocate for type v8i16
----------------
efriedma-quic wrote:
Maybe we can be more specific? Something like "expected an integer, found v8i16"?
https://github.com/llvm/llvm-project/pull/101354
More information about the llvm-commits
mailing list