[PATCH] D91042: [MC/AsmParser] Fix use of Arm calling convention in target agnostic test

Luís Marques via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 8 16:11:01 PST 2020


luismarques created this revision.
luismarques added reviewers: compnerd, bogner, asb, lenary.
Herald added subscribers: llvm-commits, s.egerton, PkmX, simoncook, kristof.beyls.
Herald added a project: LLVM.
luismarques requested review of this revision.

This test originally targeted thumbv7. When it was changed to be a target-independent test the use of the ARM_AAPCS calling convention was left in. That causes failures when running the test on targets that do not support that CC, such as RISC-V. This patch removes the calling convention specifier.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D91042

Files:
  llvm/test/MC/AsmParser/include.ll


Index: llvm/test/MC/AsmParser/include.ll
===================================================================
--- llvm/test/MC/AsmParser/include.ll
+++ llvm/test/MC/AsmParser/include.ll
@@ -3,7 +3,7 @@
 
 module asm ".include \22module.x\22"
 
-define arm_aapcscc void @f() {
+define void @f() {
 entry:
   call void asm sideeffect ".include \22function.x\22", ""()
   ret void


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91042.303740.patch
Type: text/x-patch
Size: 377 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201109/59e7cf31/attachment.bin>


More information about the llvm-commits mailing list