llvm.org GIT mirror llvm / c57bee5
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 David Majnemer 4 years ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
190190
191191 ; CHECK-LABEL: @test24
192192 ; CHECK: ret i32 undef
193 define i32 @test24(i32 %a) {
193 define i32 @test24() {
194194 %b = udiv i32 undef, 0
195195 ret i32 %b
196196 }
197197
198198 ; CHECK-LABEL: @test25
199199 ; CHECK: ret i32 undef
200 define i32 @test25(i32 %a) {
200 define i32 @test25() {
201201 %b = lshr i32 0, undef
202202 ret i32 %b
203203 }
204204
205205 ; CHECK-LABEL: @test26
206206 ; CHECK: ret i32 undef
207 define i32 @test26(i32 %a) {
207 define i32 @test26() {
208208 %b = ashr i32 0, undef
209209 ret i32 %b
210210 }
211211
212212 ; CHECK-LABEL: @test27
213213 ; CHECK: ret i32 undef
214 define i32 @test27(i32 %a) {
214 define i32 @test27() {
215215 %b = shl i32 0, undef
216216 ret i32 %b
217217 }