mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Fix a syntax error that llvm.exp found.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36004 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
; This test makes sure that div instructions are properly eliminated.
|
; This test makes sure that div instructions are properly eliminated.
|
||||||
; This test is for Integer BitWidth < 64 && BitWidth % 2 != 0.
|
; This test is for Integer BitWidth < 64 && BitWidth % 2 != 0.
|
||||||
;
|
;
|
||||||
|
|
||||||
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep div
|
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep div
|
||||||
|
|
||||||
|
|
||||||
@@ -17,7 +16,7 @@ define i49 @test2(i49 %X) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
define i59 @test3(i59 %X, bool %C) {
|
define i59 @test3(i59 %X, bool %C) {
|
||||||
%V = select bool %C, i59 1024, i59 4096
|
%V = select i1 %C, i59 1024, i59 4096
|
||||||
%R = udiv i59 %X, %V
|
%R = udiv i59 %X, %V
|
||||||
ret i59 %R
|
ret i59 %R
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user