[PATCH] D49219: [Sparc] Custom bitcast between f64 and v2i32

Daniel Cederman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 20 00:18:41 PDT 2018


dcederman updated this revision to Diff 161423.
dcederman edited the summary of this revision.
dcederman added a comment.

Moved code into a PerformDAGCombine function.

Removed code related to loads. Loads were already handled properly so the code should not have been included in the first place.

Check both source and target for the correct type.

Added code to handle little-endian systems and added new test cases.

The test_intrins_call test should be generating optimal code now.


https://reviews.llvm.org/D49219

Files:
  lib/Target/Sparc/SparcISelLowering.cpp
  lib/Target/Sparc/SparcISelLowering.h
  test/CodeGen/SPARC/float-constants.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49219.161423.patch
Type: text/x-patch
Size: 5114 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180820/a6eed88e/attachment.bin>


More information about the llvm-commits mailing list