From 5a23c8bbdb3085d99217d520948ad56b6be51b17 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 29 Dec 2004 03:57:25 +0000 Subject: [PATCH] new testcase for PR490 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19175 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/CBackend/2004-12-28-LogicalConstantExprs.ll | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/CodeGen/CBackend/2004-12-28-LogicalConstantExprs.ll diff --git a/test/CodeGen/CBackend/2004-12-28-LogicalConstantExprs.ll b/test/CodeGen/CBackend/2004-12-28-LogicalConstantExprs.ll new file mode 100644 index 00000000000..3377fd1fead --- /dev/null +++ b/test/CodeGen/CBackend/2004-12-28-LogicalConstantExprs.ll @@ -0,0 +1,5 @@ +; RUN: llvm-as < %s | llc -march=c + +int %foo() { + ret int and (int 123456, int cast (int()* %foo to int)) +} -- 2.34.1