Skip to content

Commit

Permalink
[X86] aligned-variadic.ll - replace X32 checks with X86. NFC.
Browse files Browse the repository at this point in the history
We try to use X32 for gnux32 triples only.
  • Loading branch information
RKSimon committed Jan 4, 2024
1 parent ce4459d commit 63e3074
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions llvm/test/CodeGen/X86/aligned-variadic.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: llc < %s -mtriple=x86_64-apple-darwin -stack-symbol-ordering=0 | FileCheck %s -check-prefix=X64
; RUN: llc < %s -mtriple=i686-apple-darwin -stack-symbol-ordering=0 | FileCheck %s -check-prefix=X32
; RUN: llc < %s -mtriple=i686-apple-darwin -stack-symbol-ordering=0 | FileCheck %s -check-prefix=X86

%struct.Baz = type { [17 x i8] }
%struct.__va_list_tag = type { i32, i32, ptr, ptr }
Expand All @@ -13,8 +13,8 @@ entry:
%overflow_arg_area = load ptr, ptr %overflow_arg_area_p, align 8
%overflow_arg_area.next = getelementptr i8, ptr %overflow_arg_area, i64 24
store ptr %overflow_arg_area.next, ptr %overflow_arg_area_p, align 8
; X32: leal 68(%esp), [[REG:%.*]]
; X32: movl [[REG]], 16(%esp)
; X86: leal 68(%esp), [[REG:%.*]]
; X86: movl [[REG]], 16(%esp)
; X64: leaq 256(%rsp), [[REG:%.*]]
; X64: movq [[REG]], 184(%rsp)
; X64: leaq 176(%rsp), %rdi
Expand Down

0 comments on commit 63e3074

Please sign in to comment.