[all-commits] [llvm/llvm-project] 7f2109: [PowerPC] modernize test via update_llc_test_check...

Jon Roelofs via All-commits all-commits at lists.llvm.org
Fri Apr 30 15:55:14 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f2109128fc9c8b49bfb25a1360837cab40d29f7
      https://github.com/llvm/llvm-project/commit/7f2109128fc9c8b49bfb25a1360837cab40d29f7
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2021-04-30 (Fri, 30 Apr 2021)

  Changed paths:
    M llvm/test/CodeGen/PowerPC/expand-foldable-isel.ll

  Log Message:
  -----------
  [PowerPC] modernize test via update_llc_test_checks.py. NFC


  Commit: 421569b244b6b037b1f0bf702ca9083e69f87422
      https://github.com/llvm/llvm-project/commit/421569b244b6b037b1f0bf702ca9083e69f87422
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2021-04-30 (Fri, 30 Apr 2021)

  Changed paths:
    M llvm/lib/CodeGen/EarlyIfConversion.cpp
    A llvm/test/CodeGen/AArch64/early-ifcvt-same-value.mir
    M llvm/test/CodeGen/PowerPC/expand-foldable-isel.ll

  Log Message:
  -----------
  [EarlyIfConversion] Avoid producing selects with identical operands

This extends the early-ifcvt pass to avoid a few more cases where the resulting
select instructions would have matching operands.  Additionally, we now use TII
to determine "sameness" of the operands so that as TII gets smarter, so too
will ifcvt.

The attached test case was bugpoint-reduced down from CINT2000/252.eon in the
test-suite. See: https://clang.godbolt.org/z/WvnrcrGEn

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


Compare: https://github.com/llvm/llvm-project/compare/c05d1eed35f5...421569b244b6


More information about the All-commits mailing list