[all-commits] [llvm/llvm-project] 0d3149: [MC][X86] Disable branch align in non-text section
KanRobert via All-commits
all-commits at lists.llvm.org
Fri Apr 17 23:41:54 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 0d3149f43173967d6f4e4c5c904a05e1022071d4
https://github.com/llvm/llvm-project/commit/0d3149f43173967d6f4e4c5c904a05e1022071d4
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2020-04-18 (Sat, 18 Apr 2020)
Changed paths:
M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
A llvm/test/MC/X86/align-branch-section-type.s
Log Message:
-----------
[MC][X86] Disable branch align in non-text section
Summary:
The instruction in non-text section can not be executed, so they will not affect performance.
In addition, their encoding values are treated as data, so we should not touch them.
Reviewers: MaskRay, reames, LuoYuanke, jyknight
Reviewed By: MaskRay
Subscribers: annita.zhang, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D77971
More information about the All-commits
mailing list