From: Reid Spencer Date: Sat, 9 Dec 2006 19:35:43 +0000 (+0000) Subject: Add a check to catch an incorrect upgrade. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c96660aef7b1e3004b64b628f76cd1e4ff698df6;p=oota-llvm.git 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 --- 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 00000000000..2ede90aa1cd --- /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 +}