diff options
author | Chris Lattner <sabre@nondot.org> | 2008-04-19 22:17:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-04-19 22:17:26 +0000 |
commit | d881ad2c570dcb5965eb00b66462e1075ec82440 (patch) | |
tree | 759c384cfde897c617a82b0d6ef9c061e37818db /test/Assembler/ConstantExprFold.llx | |
parent | 1c14c297460e0a6480bab989c0ade346288bbfd2 (diff) |
Implement PR2206.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49967 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler/ConstantExprFold.llx')
-rw-r--r-- | test/Assembler/ConstantExprFold.llx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Assembler/ConstantExprFold.llx b/test/Assembler/ConstantExprFold.llx index e32cc66e81..89edc24b37 100644 --- a/test/Assembler/ConstantExprFold.llx +++ b/test/Assembler/ConstantExprFold.llx @@ -24,3 +24,7 @@ global i1 icmp slt (i32* getelementptr (%Ty* @B, i64 0, i32 0), 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) + |