[PATCH] D120975: [BOLT] Strip redundant AdSize override prefix
Amir Ayupov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 3 22:07:13 PST 2022
Amir created this revision.
Herald added subscribers: ayermolo, pengfei.
Herald added a reviewer: rafauler.
Herald added a reviewer: maksfb.
Herald added a project: All.
Amir requested review of this revision.
Herald added subscribers: llvm-commits, yota9.
Herald added a project: LLVM.
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`
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D120975
Files:
bolt/include/bolt/Core/MCPlusBuilder.h
bolt/lib/Passes/BinaryPasses.cpp
bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
bolt/lib/Target/X86/X86MCPlusBuilder.cpp
bolt/test/X86/addr32.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120975.412931.patch
Type: text/x-patch
Size: 5021 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220304/74d674cf/attachment.bin>
More information about the llvm-commits
mailing list