[clang] [llvm] [X86] Support EGPR for inline assembly. (PR #92338)
Freddy Ye via cfe-commits
cfe-commits at lists.llvm.org
Wed May 29 02:26:28 PDT 2024
================
@@ -0,0 +1,16 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: not llc -mtriple=x86_64 %s 2>&1 | FileCheck %s --check-prefix=ERR
+; RUN: llc -mtriple=x86_64 -mattr=+egpr < %s | FileCheck %s
+; RUN: llc -mtriple=x86_64 -mattr=+egpr,+inline-asm-use-gpr32 < %s | FileCheck %s
+
+; ERR: error: inline assembly requires more registers than available
+
+define void @constraint_jR_test() nounwind "frame-pointer"="all" {
----------------
FreddyLeaf wrote:
it turns out relate to `rbp`, addressed in [bf3a53c](https://github.com/llvm/llvm-project/pull/92338/commits/bf3a53c0b7fc1828572f771e4772d25062110dc0)
https://github.com/llvm/llvm-project/pull/92338
More information about the cfe-commits
mailing list