commit | cc3d0eb483d17154fe00f68726c097546b7c9352 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Nov 26 23:41:07 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Nov 26 23:41:07 2009 +0000 |
tree | dcfa7987978c72e5c6153499635abd895923b524 | |
parent | 38028653a95ba7dd666ce01918add96d5d13f412 [diff] |
Teach memdep to phi translate bitcasts. This allows us to compile the example in GCC PR16799 to: LBB1_2: ## %bb1 movl %eax, %eax subq %rax, %rdi movq %rdi, (%rcx) movl (%rdi), %eax testl %eax, %eax je LBB1_2 instead of: LBB1_2: ## %bb1 movl (%rdi), %ecx subq %rcx, %rdi movq %rdi, (%rax) cmpl $0, (%rdi) je LBB1_2 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89978 91177308-0d34-0410-b5e6-96231b3b80d8