[PATCH] D34875: ARM: Report error for invalid use of AAPCS_VFP calling convention

Charles Baylis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 13 05:37:42 PDT 2017


charles.baylis updated this revision to Diff 106403.
charles.baylis added a comment.

Updates:
. removed cruft from new test cases
. adjusted existing test cases to avoid hardfp/Thumb-1 combination

It does seem like there ought to be a better way to report the error, eg MachineInstr::emitError() has some logic to acquire a LocCookie. I'm not sure if/how I can do something similar here. Any hints?


https://reviews.llvm.org/D34875

Files:
  lib/Target/ARM/ARMISelLowering.cpp
  test/CodeGen/ARM/aapcs-vfp-call-float-arg.ll
  test/CodeGen/ARM/aapcs-vfp-call-float-result.ll
  test/CodeGen/ARM/aapcs-vfp-def-float-arg.ll
  test/CodeGen/ARM/aapcs-vfp-def-float-result.ll
  test/CodeGen/ARM/arm-eabi.ll
  test/CodeGen/ARM/fold-stack-adjust-2.ll
  test/CodeGen/ARM/fold-stack-adjust.ll
  test/CodeGen/ARM/fp16-promote.ll
  test/CodeGen/ARM/memfunc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34875.106403.patch
Type: text/x-patch
Size: 14142 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170713/6dc69902/attachment.bin>


More information about the llvm-commits mailing list