[PATCH] D38894: [RFC][Tablegen] Add CCIfSplitFrom and CCPassIndirectBySamePointer Calling Convention Interfaces

Shiva Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 24 23:18:05 PDT 2017


shiva0217 updated this revision to Diff 120188.
shiva0217 added a comment.

Hi @rnk and @uweigand,
The bug report:https://bugs.llvm.org/show_bug.cgi?id=26559 which @uweigand mentioned is the case that softfloat function created by llvm which clang won't handle it.

In the bug report, clang will emit "uitofp i128 %0 to float" floating operation.
LLVM will soften the floating operation to softfloat function call.

So I add the bug report case as args-11.ll as @rnk suggestion.

The patch is for making backend life easier. RISCV32 have the similar ABI and could have benefit with it.


Repository:
  rL LLVM

https://reviews.llvm.org/D38894

Files:
  include/llvm/CodeGen/CallingConvLower.h
  include/llvm/Target/TargetCallingConv.h
  include/llvm/Target/TargetCallingConv.td
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/Target/SystemZ/SystemZCallingConv.h
  lib/Target/SystemZ/SystemZCallingConv.td
  test/CodeGen/SystemZ/args-11.ll
  utils/TableGen/CallingConvEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38894.120188.patch
Type: text/x-patch
Size: 8804 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171025/1ac4210a/attachment.bin>


More information about the llvm-commits mailing list