[all-commits] [llvm/llvm-project] e5b15c: [X86] Add some tests to show incorrect commuting o...

Craig Topper via All-commits all-commits at lists.llvm.org
Sun Aug 15 11:39:35 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e5b15c01817da62f4b224f7554d5c84daae80d5f
      https://github.com/llvm/llvm-project/commit/e5b15c01817da62f4b224f7554d5c84daae80d5f
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-08-15 (Sun, 15 Aug 2021)

  Changed paths:
    A llvm/test/CodeGen/X86/select-of-half-constants.ll

  Log Message:
  -----------
  [X86] Add some tests to show incorrect commuting of vcmpsh instructions.


  Commit: 786b8fcc9b1eed093926e6d9c36891ab72b7bde3
      https://github.com/llvm/llvm-project/commit/786b8fcc9b1eed093926e6d9c36891ab72b7bde3
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-08-15 (Sun, 15 Aug 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrInfo.cpp
    M llvm/test/CodeGen/X86/select-of-half-constants.ll

  Log Message:
  -----------
  [X86] Add vcmpsh/vcmpph to X86InstrInfo::commuteInstructionImpl.

They were already added to findCommuteOpIndices, but they also
need to be in X86InstrInfo::commuteInstructionImpl in order
to adjust the immediate control.


Compare: https://github.com/llvm/llvm-project/compare/8721490d3859...786b8fcc9b1e


More information about the All-commits mailing list