[all-commits] [llvm/llvm-project] 7e7860: [X86][NFCI] Remove target-specific branch optimisa...

Alex Bradbury via All-commits all-commits at lists.llvm.org
Wed Aug 10 02:37:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e7860c5d70d9da5d648e48daa4c2c2c2e3bd3b8
      https://github.com/llvm/llvm-project/commit/7e7860c5d70d9da5d648e48daa4c2c2c2e3bd3b8
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2022-08-10 (Wed, 10 Aug 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrInfo.cpp

  Log Message:
  -----------
  [X86][NFCI] Remove target-specific branch optimisation that's handled in BranchFolding

This specific optimisation is handled in OptimizeBlock in BranchFolding
so is redundant. As discussed on the review thread, I've verified that
we have test coverage for that optimisation within test/CodeGen/X86 by
disabling the BranchFolding version of this transform after applying
this patch and rerunning the test suite.

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




More information about the All-commits mailing list