mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-28 06:24:57 +00:00
InstSimplify: Remove usesless %a parameter from tests
No functional change intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224016 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -191,28 +191,28 @@ define i32 @test23(i32 %a) {
|
|||||||
|
|
||||||
; CHECK-LABEL: @test24
|
; CHECK-LABEL: @test24
|
||||||
; CHECK: ret i32 undef
|
; CHECK: ret i32 undef
|
||||||
define i32 @test24(i32 %a) {
|
define i32 @test24() {
|
||||||
%b = udiv i32 undef, 0
|
%b = udiv i32 undef, 0
|
||||||
ret i32 %b
|
ret i32 %b
|
||||||
}
|
}
|
||||||
|
|
||||||
; CHECK-LABEL: @test25
|
; CHECK-LABEL: @test25
|
||||||
; CHECK: ret i32 undef
|
; CHECK: ret i32 undef
|
||||||
define i32 @test25(i32 %a) {
|
define i32 @test25() {
|
||||||
%b = lshr i32 0, undef
|
%b = lshr i32 0, undef
|
||||||
ret i32 %b
|
ret i32 %b
|
||||||
}
|
}
|
||||||
|
|
||||||
; CHECK-LABEL: @test26
|
; CHECK-LABEL: @test26
|
||||||
; CHECK: ret i32 undef
|
; CHECK: ret i32 undef
|
||||||
define i32 @test26(i32 %a) {
|
define i32 @test26() {
|
||||||
%b = ashr i32 0, undef
|
%b = ashr i32 0, undef
|
||||||
ret i32 %b
|
ret i32 %b
|
||||||
}
|
}
|
||||||
|
|
||||||
; CHECK-LABEL: @test27
|
; CHECK-LABEL: @test27
|
||||||
; CHECK: ret i32 undef
|
; CHECK: ret i32 undef
|
||||||
define i32 @test27(i32 %a) {
|
define i32 @test27() {
|
||||||
%b = shl i32 0, undef
|
%b = shl i32 0, undef
|
||||||
ret i32 %b
|
ret i32 %b
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user