[llvm] [X86][MC] Keep backward compatibility in inline asm for constraints (PR #73529)

Nick Desaulniers via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 27 09:18:58 PST 2023


================
@@ -0,0 +1,24 @@
+; Check r16-r31 can not be used with 'q','r','l' constraint for backward compatibility.
+; RUN: not llc < %s -mtriple=x86_64-unknown-unknown -mattr=+egpr 2>&1 | FileCheck %s
+
+define dso_local void @q() {
----------------
nickdesaulniers wrote:

you can drop `dso_local` here and below.

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


More information about the llvm-commits mailing list