[llvm] [CodeGen] Enhance inline asm constraint diagnostics (PR #101354)
Evgenii Kudriashov via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 10 17:39:52 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
----------------
e-kud wrote:
This is hard. To be precise and informative we need to name all the vector combinations that can fit in 128 bits in case of 'x' constraint and even naming is not simple, as we need to understand whether `v8f16` is available or not to include it into the message. Or do you mean `r` constraint in particular?
https://github.com/llvm/llvm-project/pull/101354
More information about the llvm-commits
mailing list