Skip to content

Commit 9a245e7

Browse files
vtjnashclaude
andcommitted
arm64: fix clang ICE on Windows for zdot_thunderx2t99.c
Guard .align directive to avoid internal compiler error on AArch64 Windows with clang. See: llvm/llvm-project#149547 See: #5076 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 68ff451 commit 9a245e7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

kernel/arm64/zdot_thunderx2t99.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,10 @@ static void zdot_compute(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLON
236236
" cmp "J", xzr \n"
237237
" beq 3f //dot_kernel_F1 \n"
238238

239+
/* https://github.com/llvm/llvm-project/issues/149547 */
240+
#if !(defined(__clang__) && defined(OS_WINDOWS))
239241
" .align 5 \n"
242+
#endif
240243
"2: //dot_kernel_F: \n"
241244
" "KERNEL_F" \n"
242245
" subs "J", "J", #1 \n"

0 commit comments

Comments
 (0)