[PATCH] D142096: [AVR] Fix incorrectly printed global symbol operands in inline assembly

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 19 02:14:46 PST 2023


benshi001 added inline comments.


================
Comment at: llvm/test/CodeGen/AVR/inline-asm/inline-asm3.ll:76
 ; CHECK-NEXT:    mov r25, r19
-; CHECK-NEXT:    call foo16
+; CHECK-NEXT:    rcall foo16
 ; CHECK-NEXT:    ret
----------------
Since no `-mcpu` option is specified in the test command, `rcall` is emitted as default instead of `call`. Because `call` is no valid for some early devices.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142096/new/

https://reviews.llvm.org/D142096



More information about the llvm-commits mailing list