summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/BoolRetToIntTest.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/BoolRetToIntTest.ll')
-rw-r--r--llvm/test/CodeGen/PowerPC/BoolRetToIntTest.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/PowerPC/BoolRetToIntTest.ll b/llvm/test/CodeGen/PowerPC/BoolRetToIntTest.ll
index a7b79789b4c..4a0966b2859 100644
--- a/llvm/test/CodeGen/PowerPC/BoolRetToIntTest.ll
+++ b/llvm/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
+}
OpenPOWER on IntegriCloud