[PATCH] D142084: [RFC][X86][MemFold] Upgrade the mechanism of auto-generated Memory Folding Table
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 19 22:52:39 PDT 2023
craig.topper added inline comments.
================
Comment at: llvm/utils/TableGen/X86FoldTablesEmitter.cpp:387
+ Result.Alignment =
+ ((S & TB_ALIGN_MASK) >> TB_ALIGN_SHIFT) > 0
+ ? (1 << (((S & TB_ALIGN_MASK) >> TB_ALIGN_SHIFT) - 1))
----------------
Use a variable instead of repeating the same code twice?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142084/new/
https://reviews.llvm.org/D142084
More information about the llvm-commits
mailing list