[all-commits] [llvm/llvm-project] a5212b: [X86][SSE] combineSubToSubus - remove SSE2 early-out.

Bevin Hansson via All-commits all-commits at lists.llvm.org
Tue Jan 12 04:57:37 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a5212b5c91cc699052125b8a3428ffe0c123837d
      https://github.com/llvm/llvm-project/commit/a5212b5c91cc699052125b8a3428ffe0c123837d
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-01-12 (Tue, 12 Jan 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/psubus.ll

  Log Message:
  -----------
  [X86][SSE] combineSubToSubus - remove SSE2 early-out.

SSE2 truncation codegen has improved over the past few years (mainly due to better shuffle lowering/combining and computeKnownBits) - its no longer necessary to early-out from v8i32/v8i64 truncations.

This was noticed while looking at completing PR40111 and moving combineSubToSubus to DAGCombine entirely.


  Commit: c4944a6f53f6d1876e76563599f5f149328e7f8f
      https://github.com/llvm/llvm-project/commit/c4944a6f53f6d1876e76563599f5f149328e7f8f
  Author: Bevin Hansson <bevin.hansson at ericsson.com>
  Date:   2021-01-12 (Tue, 12 Jan 2021)

  Changed paths:
    M clang/lib/CodeGen/CGExprScalar.cpp
    M clang/test/Frontend/fixed_point_compound.c
    M clang/test/Frontend/fixed_point_conversions.c
    A clang/test/Frontend/fixed_point_conversions_half.c
    M llvm/include/llvm/IR/FixedPointBuilder.h

  Log Message:
  -----------
  [Fixed Point] Add codegen for conversion between fixed-point and floating point.

The patch adds the required methods to FixedPointBuilder
for converting between fixed-point and floating point,
and uses them from Clang.

This depends on D54749.

Reviewed By: leonardchan

Differential Revision: https://reviews.llvm.org/D86632


Compare: https://github.com/llvm/llvm-project/compare/09db958e37b3...c4944a6f53f6


More information about the All-commits mailing list