commit | 510fabb24c0a6db38a87d33b65ff90e5b1377015 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Apr 19 22:17:26 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Apr 19 22:17:26 2008 +0000 |
tree | 759c384cfde897c617a82b0d6ef9c061e37818db | |
parent | 69e4c5b6ff7532bfaf94bd102377be02af891761 [diff] [blame] |
Implement PR2206. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49967 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Assembler/ConstantExprFold.llx b/test/Assembler/ConstantExprFold.llx index e32cc66..89edc24 100644 --- a/test/Assembler/ConstantExprFold.llx +++ b/test/Assembler/ConstantExprFold.llx
@@ -24,3 +24,7 @@ i32* getelementptr (%Ty* @B, i64 0, i32 1)) ; true ;global i1 icmp ne (i64* @A, i64* bitcast (%Ty* @B to i64*)) ; true +; PR2206 +@cons = weak global i32 0, align 8 ; <i32*> [#uses=1] +global i64 and (i64 ptrtoint (i32* @cons to i64), i64 7) +