Index: lib/Target/X86/X86ISelLowering.cpp =================================================================== --- lib/Target/X86/X86ISelLowering.cpp +++ lib/Target/X86/X86ISelLowering.cpp @@ -1636,7 +1636,7 @@ MaxStoresPerMemcpyOptSize = 4; MaxStoresPerMemmove = 8; // For @llvm.memmove -> sequence of stores MaxStoresPerMemmoveOptSize = 4; - setPrefLoopAlignment(4); // 2^4 bytes. + setPrefLoopAlignment(5); // 2^5 bytes. // An out-of-order CPU can speculatively execute past a predictable branch, // but a conditional move could be stalled by an expensive earlier operation. Index: test/CodeGen/X86/avx2-vbroadcast.ll =================================================================== --- test/CodeGen/X86/avx2-vbroadcast.ll +++ test/CodeGen/X86/avx2-vbroadcast.ll @@ -641,7 +641,7 @@ ; X32-NEXT: je LBB31_1 ; X32-NEXT: ## BB#2: ## %ret ; X32-NEXT: retl -; X32-NEXT: .p2align 4, 0x90 +; X32-NEXT: .p2align 5, 0x90 ; X32-NEXT: LBB31_1: ## %footer349VF ; X32-NEXT: ## =>This Inner Loop Header: Depth=1 ; X32-NEXT: jmp LBB31_1 @@ -653,7 +653,7 @@ ; X64-NEXT: je LBB31_1 ; X64-NEXT: ## BB#2: ## %ret ; X64-NEXT: retq -; X64-NEXT: .p2align 4, 0x90 +; X64-NEXT: .p2align 5, 0x90 ; X64-NEXT: LBB31_1: ## %footer349VF ; X64-NEXT: ## =>This Inner Loop Header: Depth=1 ; X64-NEXT: jmp LBB31_1 Index: test/CodeGen/X86/licm-symbol.ll =================================================================== --- test/CodeGen/X86/licm-symbol.ll +++ test/CodeGen/X86/licm-symbol.ll @@ -6,7 +6,7 @@ ; CHECK: pushl ; CHECK: movl $176, %esi ; CHECK: addl L___sF$non_lazy_ptr, %esi -; CHECK: .p2align 4, 0x90 +; CHECK: .p2align 5, 0x90 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128-n8:16:32" target triple = "i386-apple-darwin8" Index: test/CodeGen/X86/postra-licm.ll =================================================================== --- test/CodeGen/X86/postra-licm.ll +++ test/CodeGen/X86/postra-licm.ll @@ -70,7 +70,7 @@ bb23: ; preds = %imix_test.exit unreachable ; Verify that there are no loads inside the loop. -; X86-32: .p2align 4 +; X86-32: .p2align 5 ; X86-32: %bb28 ; X86-32-NOT: (%esp), ; X86-32-NOT: (%ebp), @@ -152,7 +152,7 @@ bb.nph: ; preds = %entry ; X86-64: movq _map_4_to_16@GOTPCREL(%rip) -; X86-64: .p2align 4 +; X86-64: .p2align 5 %tmp5 = zext i32 undef to i64 ; [#uses=1] %tmp6 = add i64 %tmp5, 1 ; [#uses=1] %tmp11 = shl i64 undef, 1 ; [#uses=1] Index: test/CodeGen/X86/setcc-lowering.ll =================================================================== --- test/CodeGen/X86/setcc-lowering.ll +++ test/CodeGen/X86/setcc-lowering.ll @@ -42,7 +42,7 @@ ; KNL-32-NEXT: movl {{[0-9]+}}(%esp), %eax ; KNL-32-NEXT: movl {{[0-9]+}}(%esp), %ecx ; KNL-32-NEXT: movw $-1, %dx -; KNL-32-NEXT: .p2align 4, 0x90 +; KNL-32-NEXT: .p2align 5, 0x90 ; KNL-32-NEXT: .LBB1_1: # %for_loop599 ; KNL-32-NEXT: # =>This Inner Loop Header: Depth=1 ; KNL-32-NEXT: cmpl $65536, %ecx # imm = 0x10000