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

Shengchen Kan via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 27 17:28:25 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() {
----------------
KanRobert wrote:

Done

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


More information about the llvm-commits mailing list