[all-commits] [llvm/llvm-project] c36773: [FPEnv][LegalizeTypes] Make ScalarizeVecOp_STRICT_...

topperc via All-commits all-commits at lists.llvm.org
Tue Dec 17 15:18:13 PST 2019


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

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp

  Log Message:
  -----------
  [FPEnv][LegalizeTypes] Make ScalarizeVecOp_STRICT_FP_ROUND do its own replacements and return SDValue()

The caller will assert for nodes with more than 2 results unless
we return a null SDValue.

I tried to test this by copying an AArch64 test for ScalarizeVecOp_FP_ROUND.
While it did hit the assert and this commited fixed that. It also
hit a later problem that couldn't be fixed without adding strict
FP support to AArch64.




More information about the All-commits mailing list