[PATCH] Add support to promote f16 to f32

Pirama Arumuga Nainar pirama at google.com
Wed Apr 8 12:48:08 PDT 2015


- Removed the command line option and instead enable PromoteFloat on targets where f32 is legal
- Updated LegalizeFloatTypes.cpp covering ab's comments.
- Added a comprehensive test of fp16 promotion to test/Codegen/ARM/fp16-promote.ll


http://reviews.llvm.org/D8755

Files:
  include/llvm/Target/TargetLowering.h
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
  lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
  lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
  lib/CodeGen/SelectionDAG/LegalizeTypes.h
  lib/CodeGen/TargetLoweringBase.cpp
  test/CodeGen/ARM/fp16-promote.ll
  test/CodeGen/Generic/fp16-promote.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8755.23435.patch
Type: text/x-patch
Size: 56850 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150408/3008d2a8/attachment.bin>


More information about the llvm-commits mailing list