mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 02:29:18 +00:00
merge two tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121847 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1a0fbe2cf4
commit
2ff28e4b9e
@ -1,7 +0,0 @@
|
||||
; RUN: llc < %s -march=x86 | grep 365384439
|
||||
|
||||
define i32 @f9188_mul365384439_shift27(i32 %A) {
|
||||
%tmp1 = udiv i32 %A, 1577682821 ; <i32> [#uses=1]
|
||||
ret i32 %tmp1
|
||||
}
|
||||
|
@ -39,4 +39,14 @@ define signext i16 @test4(i16 signext %x) nounwind {
|
||||
entry:
|
||||
%div = sdiv i16 %x, 33 ; <i32> [#uses=1]
|
||||
ret i16 %div
|
||||
; CHECK: test4:
|
||||
}
|
||||
|
||||
define i32 @test5(i32 %A) nounwind {
|
||||
%tmp1 = udiv i32 %A, 1577682821 ; <i32> [#uses=1]
|
||||
ret i32 %tmp1
|
||||
; CHECK: test5:
|
||||
; CHECK: movl $365384439, %eax
|
||||
; CHECK: mull 4(%esp)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user