[all-commits] [llvm/llvm-project] 84d8fa: [FPEnv][LegalizeTypes][LegalizeDAG][AArch64] Few f...

topperc via All-commits all-commits at lists.llvm.org
Tue Dec 17 14:50:01 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 84d8fa30f93a58a360524b93925ebfb0d36eba2e
      https://github.com/llvm/llvm-project/commit/84d8fa30f93a58a360524b93925ebfb0d36eba2e
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2019-12-17 (Tue, 17 Dec 2019)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
    A llvm/test/CodeGen/AArch64/fpconv-vector-op-scalarize-strict.ll

  Log Message:
  -----------
  [FPEnv][LegalizeTypes][LegalizeDAG][AArch64] Few fixes/improvements for legalizing fp<->int conversion nodes.

This started with adding a test to support get code coverage on
ScalarizeVecOp_UnaryOp_StrictFP by copying an existing AArch64 test
and using constrained sitofp/uitofp intrinsics.

This found 3 separate issues:
-ScalarizeVecOp_UnaryOp_StrictFP needs to do its own replacement
 because the caller can't handle replacing multiple results.
-Missing integer promotion support for sitofp/uitofp
-Chain result not always assigned in ExpandLegalINT_TO_FP.

Committing them together so I can add the test case.




More information about the All-commits mailing list