| Index: tests_lit/llvm2ice_tests/switch-opt.ll
|
| diff --git a/tests_lit/llvm2ice_tests/switch-opt.ll b/tests_lit/llvm2ice_tests/switch-opt.ll
|
| index 3cf0daf96bf8991331bc1028232aa8e0b42c6eb7..5202b8d64fc29ced5494a9fee12c4d5e561b115f 100644
|
| --- a/tests_lit/llvm2ice_tests/switch-opt.ll
|
| +++ b/tests_lit/llvm2ice_tests/switch-opt.ll
|
| @@ -147,3 +147,18 @@ sw.default:
|
| ; ARM32-NEXT: beq [[ADDR:[0-9a-f]+]]
|
| ; ARM32-NEXT: b [[ADDR]]
|
|
|
| +define i32 @testSwitchUndef64() {
|
| +entry:
|
| + switch i64 undef, label %sw.default [
|
| + i64 1, label %sw.default
|
| + ]
|
| +
|
| +sw.default:
|
| + ret i32 20
|
| +}
|
| +; CHECK-LABEL: testSwitchUndef64
|
| +; CHECK: mov {{.*}},0x0
|
| +; CHECK: mov {{.*}},0x0
|
| +; ARM32-LABEL: testSwitchUndef64
|
| +; ARM32: movw {{.*}}, #0
|
| +; ARM32: movw {{.*}}, #0
|
|
|