diff options
Diffstat (limited to 'test/CodeGen/PowerPC/BoolRetToIntTest.ll')
| -rw-r--r-- | test/CodeGen/PowerPC/BoolRetToIntTest.ll | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGen/PowerPC/BoolRetToIntTest.ll b/test/CodeGen/PowerPC/BoolRetToIntTest.ll index a7b79789b4ca..4a0966b2859f 100644 --- a/test/CodeGen/PowerPC/BoolRetToIntTest.ll +++ b/test/CodeGen/PowerPC/BoolRetToIntTest.ll @@ -198,6 +198,8 @@ declare zeroext i1 @return_i1() define zeroext i1 @call_test() { ; CHECK: [[REG:%.+]] = call i1 %result = call i1 @return_i1() +; CHECK: [[REG:%.+]] = zext i1 {{%.+}} to i32 +; CHECK: [[REG:%.+]] = trunc i32 {{%.+}} to i1 ; CHECK: ret i1 [[REG]] ret i1 %result -}
\ No newline at end of file +} |
