[llvm] [X86] Reimplement bundle alignment mode (PR #175830)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 7 16:17:49 PST 2026


================
@@ -317,6 +334,79 @@ void MCELFStreamer::emitIdent(StringRef IdentString) {
   popSection();
 }
 
+void MCELFStreamer::emitBundleAlignMode(Align Alignment) {
+  assert(Log2(Alignment) <= 30 && "Invalid bundle alignment");
----------------
MaskRay wrote:

If reachable, don't use `assert`.

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


More information about the llvm-commits mailing list