[llvm] MC: Remove bundle alignment mode (PR #148781)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 15 18:56:58 PDT 2025


MaskRay wrote:

Thanks for the review!

> I thought I recalled that someone else was using this, but I can't find it in discourse or GitHub, so maybe I'm wrong, or maybe someone will come along later with a use case.

Is that Intel -mbranches-within-32B-boundaries? It applies to certain instructions, so the implementation needs to know the instruction opcode and do the alignment in target-specific code X86AsmBackend.cpp.

If there is ever a use case for a similar feature, they should justify the overhead and make the implementation significantly simpler....

https://github.com/llvm/llvm-project/pull/148781


More information about the llvm-commits mailing list