[all-commits] [llvm/llvm-project] dc1cf8: [BOLT] Strip redundant AdSize override prefix

Amir Ayupov via All-commits all-commits at lists.llvm.org
Wed Mar 16 09:38:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc1cf838a501a3c52fbb596b27d37f35e334b21e
      https://github.com/llvm/llvm-project/commit/dc1cf838a501a3c52fbb596b27d37f35e334b21e
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2022-03-16 (Wed, 16 Mar 2022)

  Changed paths:
    M bolt/include/bolt/Core/MCPlusBuilder.h
    M bolt/lib/Passes/BinaryPasses.cpp
    M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
    M bolt/lib/Target/X86/CMakeLists.txt
    M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
    A bolt/test/X86/addr32.s

  Log Message:
  -----------
  [BOLT] Strip redundant AdSize override prefix

Since LLVM MC now preserves redundant AdSize override prefix (0x67), remove it
in BOLT explicitly (-x86-strip-redundant-adsize, on by default).

Test Plan:
`bin/llvm-lit -a bolt/test/X86/addr32.s`

Reviewed By: rafauler

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




More information about the All-commits mailing list