inline-asm-clobber.ll 266 B

12345678910
  1. ; RUN: not llvm-as <%s 2>&1 | FileCheck %s
  2. ; "~x{21}" is not a valid clobber constraint.
  3. ; CHECK: invalid type for inline asm constraint string
  4. define void @foo() nounwind {
  5. call void asm sideeffect "mov x0, #42", "~{x0},~{x19},~x{21}"() nounwind
  6. ret void
  7. }