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

Adhemerval Zanella via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 7 14:37:50 PDT 2019


zatrazz updated this revision to Diff 198532.
zatrazz marked 5 inline comments as done.
zatrazz added a comment.
Herald added subscribers: atanasyan, sdardis.

Updated patch based on previous comments. The changes are:

- Fix documentation missing words.
- Removed isSigned from ExpandFPLibCall.
- Added LLROUND along with a proper tests (for mips64) for soft-float.
- Moved TargetLoweringBase::initActions action for f80 on x86 code.
- Added lround.i32 for i686 tests using utils/update_llc_test_checks.py.


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/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.198532.patch
Type: text/x-patch
Size: 32607 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190507/ae86d5e2/attachment.bin>


More information about the llvm-commits mailing list