mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-02 22:32:08 +00:00
Fix broken testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2565 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
aa3904faff
commit
8c7333e17c
@ -1,7 +1,7 @@
|
|||||||
; This test makes sure that these instructions are properly eliminated.
|
; This test makes sure that these instructions are properly eliminated.
|
||||||
;
|
;
|
||||||
|
|
||||||
; RUN: if as < %s | opt -instcombine -dce | dis | grep sub
|
; RUN: if as < %s | opt -instcombine -dce | dis | grep sub | grep -v 'sub int %Cok, %Bok'
|
||||||
; RUN: then exit 1
|
; RUN: then exit 1
|
||||||
; RUN: else exit 0
|
; RUN: else exit 0
|
||||||
; RUN: fi
|
; RUN: fi
|
||||||
@ -30,8 +30,8 @@ int "test4"(int %A, int %x) {
|
|||||||
ret int %C
|
ret int %C
|
||||||
}
|
}
|
||||||
|
|
||||||
int "test5"(int %A, int %B, int %C) {
|
int "test5"(int %A, int %Bok, int %Cok) {
|
||||||
%D = sub int %B, %C
|
%D = sub int %Bok, %Cok
|
||||||
%E = sub int %A, %D
|
%E = sub int %A, %D
|
||||||
ret int %E
|
ret int %E
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user