[PATCH] D36875: [Sparc] efficient pattern for UINT_TO_FP conversion

Alexey Lapshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 19 05:38:25 PDT 2017


alexey.lapshin updated this revision to Diff 119574.
alexey.lapshin added a comment.

updated a fix according to comments, specifically:

- moved down LowerBITCAST, LowerUINT_TO_FP
- moved tests into float.ll(it already has test for i64)
- added test for bitcast from int to float(without uitofp)
- added test for uitofp for float


https://reviews.llvm.org/D36875

Files:
  lib/Target/Sparc/SparcISelLowering.cpp
  lib/Target/Sparc/SparcISelLowering.h
  lib/Target/Sparc/SparcInstrVIS.td
  test/CodeGen/SPARC/float.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36875.119574.patch
Type: text/x-patch
Size: 10446 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171019/11979805/attachment.bin>


More information about the llvm-commits mailing list