Skip to content

Commit ccb2810

Browse files
committed
[X86] anyext.ll - replace X32 check prefixes with X86
We try to only use X32 for gnux32 triple tests.
1 parent 8a074c8 commit ccb2810

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

llvm/test/CodeGen/X86/anyext.ll

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc < %s -mtriple=i686-unknown | FileCheck %s --check-prefix=X32
2+
; RUN: llc < %s -mtriple=i686-unknown | FileCheck %s --check-prefix=X86
33
; RUN: llc < %s -mtriple=x86_64-unknown | FileCheck %s --check-prefix=X64
44

55
; Use movzbl to avoid partial-register updates.
66

77
define i32 @foo(i32 %p, i8 zeroext %x) nounwind {
8-
; X32-LABEL: foo:
9-
; X32: # %bb.0:
10-
; X32-NEXT: movzbl {{[0-9]+}}(%esp), %eax
11-
; X32-NEXT: divb {{[0-9]+}}(%esp)
12-
; X32-NEXT: movzbl %al, %eax
13-
; X32-NEXT: andl $1, %eax
14-
; X32-NEXT: retl
8+
; X86-LABEL: foo:
9+
; X86: # %bb.0:
10+
; X86-NEXT: movzbl {{[0-9]+}}(%esp), %eax
11+
; X86-NEXT: divb {{[0-9]+}}(%esp)
12+
; X86-NEXT: movzbl %al, %eax
13+
; X86-NEXT: andl $1, %eax
14+
; X86-NEXT: retl
1515
;
1616
; X64-LABEL: foo:
1717
; X64: # %bb.0:
@@ -28,14 +28,14 @@ define i32 @foo(i32 %p, i8 zeroext %x) nounwind {
2828
}
2929

3030
define i32 @bar(i32 %p, i16 zeroext %x) nounwind {
31-
; X32-LABEL: bar:
32-
; X32: # %bb.0:
33-
; X32-NEXT: movzwl {{[0-9]+}}(%esp), %eax
34-
; X32-NEXT: xorl %edx, %edx
35-
; X32-NEXT: divw {{[0-9]+}}(%esp)
36-
; X32-NEXT: # kill: def $ax killed $ax def $eax
37-
; X32-NEXT: andl $1, %eax
38-
; X32-NEXT: retl
31+
; X86-LABEL: bar:
32+
; X86: # %bb.0:
33+
; X86-NEXT: movzwl {{[0-9]+}}(%esp), %eax
34+
; X86-NEXT: xorl %edx, %edx
35+
; X86-NEXT: divw {{[0-9]+}}(%esp)
36+
; X86-NEXT: # kill: def $ax killed $ax def $eax
37+
; X86-NEXT: andl $1, %eax
38+
; X86-NEXT: retl
3939
;
4040
; X64-LABEL: bar:
4141
; X64: # %bb.0:

0 commit comments

Comments
 (0)