[PATCH] D76551: [Alignment][NFC] Use TFL::getStackAlign()
Guillaume Chatelet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 21 14:25:03 PDT 2020
gchatelet added inline comments.
================
Comment at: llvm/lib/Target/X86/X86InstrInfo.cpp:5376
+ MaybeAlign MinAlign =
+ decodeMaybeAlign((I->Flags & TB_ALIGN_MASK) >> TB_ALIGN_SHIFT);
+ if (MinAlign && Alignment < *MinAlign)
----------------
[Documentation here](https://github.com/llvm/llvm-project/blob/34fd007aaf80bb26d4ebbfd3272b9f85ce77416e/llvm/lib/Target/X86/X86InstrFoldTables.h#L44) is useful to understand why this is correct.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76551/new/
https://reviews.llvm.org/D76551
More information about the llvm-commits
mailing list