| Index: tests_lit/llvm2ice_tests/select-opt.ll
|
| diff --git a/tests_lit/llvm2ice_tests/select-opt.ll b/tests_lit/llvm2ice_tests/select-opt.ll
|
| index 8e67a6d5f74146e6254d1ea5f4951d5043672338..f6d15bf6d9554177e48248e79bc3eb3e741f0306 100644
|
| --- a/tests_lit/llvm2ice_tests/select-opt.ll
|
| +++ b/tests_lit/llvm2ice_tests/select-opt.ll
|
| @@ -14,6 +14,11 @@ entry:
|
| %cmp1 = icmp sgt i32 %a, %b
|
| %cond2 = select i1 %cmp1, i32 10, i32 20
|
| tail call void @useInt(i32 %cond2)
|
| + ; Create "fake" uses of %cmp and %cmp1 to prevent O2 bool folding.
|
| + %d1 = zext i1 %cmp to i32
|
| + call void @useInt(i32 %d1)
|
| + %d2 = zext i1 %cmp1 to i32
|
| + call void @useInt(i32 %d2)
|
| ret void
|
| }
|
|
|
|
|