[all-commits] [llvm/llvm-project] 5a56d2: [LegalizeTypes] Remove unnecessary conversion from...

topperc via All-commits all-commits at lists.llvm.org
Sun Nov 17 23:48:45 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a56d2aa33c6f6280a07cc0ef81ea0d74d081d68
      https://github.com/llvm/llvm-project/commit/5a56d2aa33c6f6280a07cc0ef81ea0d74d081d68
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2019-11-17 (Sun, 17 Nov 2019)

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

  Log Message:
  -----------
  [LegalizeTypes] Remove unnecessary conversion from EVT to MVT to MVT::SimpleValueType just to assign back to EVT. NFC


  Commit: bfbbf0aba81a84da8b53d4d159d080e77ad8ee70
      https://github.com/llvm/llvm-project/commit/bfbbf0aba81a84da8b53d4d159d080e77ad8ee70
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2019-11-17 (Sun, 17 Nov 2019)

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

  Log Message:
  -----------
  [LegalizeTypes] Remove SoftenFloat handling from ExpandIntRes_LLROUND_LLRINT and remove assert from the strict fp path.

These were both recently added. While the call to GetSoftenedFloat
is a little more optimal, we don't do it in the expand for
FP_TO_SINT/UINT so there's no real reason to do it here. This
avoids a FIXME for strict fp.


Compare: https://github.com/llvm/llvm-project/compare/909d7bf9a7c5...bfbbf0aba81a


More information about the All-commits mailing list