From c96660aef7b1e3004b64b628f76cd1e4ff698df6 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sat, 9 Dec 2006 19:35:43 +0000 Subject: Add a check to catch an incorrect upgrade. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32402 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Assembler/2006-12-09-Cast-To-Bool.ll | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/Assembler/2006-12-09-Cast-To-Bool.ll (limited to 'test') diff --git a/test/Assembler/2006-12-09-Cast-To-Bool.ll b/test/Assembler/2006-12-09-Cast-To-Bool.ll new file mode 100644 index 0000000000..2ede90aa1c --- /dev/null +++ b/test/Assembler/2006-12-09-Cast-To-Bool.ll @@ -0,0 +1,5 @@ +; RUN llvm-upgrade < %s | llvm-as +bool %main(int %X) { + %res = cast bool true to bool + ret bool %res +} -- cgit v1.2.3