[PATCH] D61390: [CodeGen] Add lround/llround builtins

Adhemerval Zanella via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 8 14:30:33 PDT 2019


zatrazz updated this revision to Diff 198727.
zatrazz added a comment.
Herald added subscribers: jsji, nemanjai.

Updated patch based on the previous comment. The main change is the IBM long double tests which also required both SoftenFloatOp_LROUND and SoftenFloatOp_LLROUND implementation to handle the type correctly.


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

https://reviews.llvm.org/D61390

Files:
  llvm/docs/LangRef.rst
  llvm/include/llvm/CodeGen/ISDOpcodes.h
  llvm/include/llvm/IR/Intrinsics.td
  llvm/include/llvm/IR/RuntimeLibcalls.def
  llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
  llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
  llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
  llvm/lib/CodeGen/TargetLoweringBase.cpp
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/AArch64/llround-conv.ll
  llvm/test/CodeGen/AArch64/lround-conv.ll
  llvm/test/CodeGen/ARM/llround-conv.ll
  llvm/test/CodeGen/ARM/lround-conv.ll
  llvm/test/CodeGen/Mips/llround-conv.ll
  llvm/test/CodeGen/Mips/lround-conv.ll
  llvm/test/CodeGen/PowerPC/llround-conv.ll
  llvm/test/CodeGen/PowerPC/lround-conv.ll
  llvm/test/CodeGen/X86/llround-conv-i32.ll
  llvm/test/CodeGen/X86/llround-conv.ll
  llvm/test/CodeGen/X86/lround-conv-i32.ll
  llvm/test/CodeGen/X86/lround-conv.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61390.198727.patch
Type: text/x-patch
Size: 38267 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190508/00745b8f/attachment.bin>


More information about the llvm-commits mailing list