[PATCH] D12856: Always promote f16

Oliver Stannard via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 30 10:36:45 PDT 2015


olista01 updated this revision to Diff 38824.
olista01 added a comment.

Updated to correctly handle FPEXT, and get test/CodeGen/ARM/fp16-promote.ll passing. The changes in SelectionDAGBuilder.cpp were required for a few of the test cases, notably those with half-precision arguments (which the clang frontend doesn't currently emit, at least for ARM), and phi nodes.


http://reviews.llvm.org/D12856

Files:
  lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/CodeGen/TargetLoweringBase.cpp
  test/CodeGen/ARM/fp16-promote.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12856.38824.patch
Type: text/x-patch
Size: 21456 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151030/b89b2500/attachment.bin>


More information about the llvm-commits mailing list