aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/InstructionSimplify.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-11-26 23:41:07 +0000
committerChris Lattner <sabre@nondot.org>2009-11-26 23:41:07 +0000
commitcc3d0eb483d17154fe00f68726c097546b7c9352 (patch)
treedcfa7987978c72e5c6153499635abd895923b524 /lib/Analysis/InstructionSimplify.cpp
parent38028653a95ba7dd666ce01918add96d5d13f412 (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
Diffstat (limited to 'lib/Analysis/InstructionSimplify.cpp')
0 files changed, 0 insertions, 0 deletions