[PATCH] D70157: Align branches within 32-Byte boundary
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 12 19:44:54 PST 2019
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h:134
+ /// macro-fusion.
+ inline FirstMFInstKind classifyFirstOpcode(unsigned Opcode) {
+ switch (Opcode) {
----------------
xiangzhangllvm wrote:
> xiangzhangllvm wrote:
> > We rarely put function definition at *.h, if putting it into X86MacroFusion.cpp will cause compile problem, X86AsmBackend.cpp maybe a good place to put it.
> Seems not big function, just many "case", it is fine for me if you don't want to change it.
If you want to put it in a cpp, i'd say X86MCTargetDesc.cpp. There are already a few random functions in there like getX86SubSuperRegister or whatever its called.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70157/new/
https://reviews.llvm.org/D70157
More information about the llvm-commits
mailing list