commit | 001f7534e0311508cc93831a595785bb177f8a18 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Aug 11 23:49:01 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Aug 11 23:49:01 2007 +0000 |
tree | 4546f3841793c7151cbffb9c28ff1cde2a5a91dd | |
parent | 8d2e88806be0fbacb1fcba3f04ec57f16b417a11 [diff] |
constant fold ptrtoint(inttoptr) with target data when available. This allows us to fold the entry block of PR1602 to false instead of: br i1 icmp eq (i32 and (i32 ptrtoint (void (%struct.S*)* inttoptr (i64 1 to void (%struct.S*)*) to i32), i32 1), i32 0), label %cond_next, label %cond_true git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41023 91177308-0d34-0410-b5e6-96231b3b80d8