Skip to content

Commit 7d5ebfe

Browse files
committed
[X86] Support both eax and edx in test.
Some downstream change is currently causing us to generate code for eax here, so support both eax and edx in the test until the cause is determined. Change-Id: Iad1a592b40dd34eb466d643ee1a04621a8b62369
1 parent 5b356e0 commit 7d5ebfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/test/CodeGen/X86/pr38795.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ define dso_local void @fn() {
4545
; CHECK-NEXT: movl $.str, (%esp)
4646
; CHECK-NEXT: calll printf
4747
; CHECK-NEXT: # implicit-def: $eax
48-
; CHECK-NEXT: movzbl {{[-0-9]+}}(%e{{[sb]}}p), %edx # 1-byte Folded Reload
48+
; CHECK-NEXT: movzbl {{[-0-9]+}}(%e{{[sb]}}p), %e{{a|d}}x # 1-byte Folded Reload
4949
; CHECK-NEXT: testl %edi, %edi
5050
; CHECK-NEXT: jne .LBB0_10
5151
; CHECK-NEXT: jmp .LBB0_6

0 commit comments

Comments
 (0)