[all-commits] [llvm/llvm-project] 129a76: [X86] Disable the NOP padding for branches when bu...

KanRobert via All-commits all-commits at lists.llvm.org
Fri Feb 28 23:08:06 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 129a762555b8b7fcc6e29a320a0d27f960e469ae
      https://github.com/llvm/llvm-project/commit/129a762555b8b7fcc6e29a320a0d27f960e469ae
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2020-02-29 (Sat, 29 Feb 2020)

  Changed paths:
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
    A llvm/test/MC/X86/align-branch-64-7a.s

  Log Message:
  -----------
  [X86] Disable the NOP padding for branches when bundle is enabled

When bundle is enabled, data fragment itself has a space to emit NOP
to bundle-align instructions. The behaviour makes it impossible for
us to determine whether the macro fusion really happen when emitting
instructions. In addition, boundary-align fragment is also used to
emit NOPs to align instructions, currently using them together sometimes
makes code crazy.

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




More information about the All-commits mailing list