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

Adhemerval Zanella via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 3 08:50:02 PDT 2019


zatrazz updated this revision to Diff 198024.
zatrazz added a comment.

Updated patch based on previous comments. The changes from the previous version are:

- Remove support vector types from documentation of the new instrinsics.
- Index the new operations based on input argument rather than return ones.
- Added tests for i32 variant (lround for long int being i32).
- Added support and tests for soft-float lowering.


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/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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61390.198024.patch
Type: text/x-patch
Size: 21028 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190503/5657432f/attachment.bin>


More information about the llvm-commits mailing list