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

Adhemerval Zanella via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 6 11:51:01 PDT 2019


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

Updated patch based on the previous comment. The main change are:

- Add the new ISD on SelectionDAGLegalize::LegalizeOp.
- Index both lround/llround by returned type.


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
  llvm/test/CodeGen/X86/llround-conv.ll
  llvm/test/CodeGen/X86/lround-conv.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61390.198318.patch
Type: text/x-patch
Size: 23069 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190506/f70dad82/attachment-0001.bin>


More information about the llvm-commits mailing list