diff options
author | Chris Lattner <sabre@nondot.org> | 2009-11-26 23:41:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-11-26 23:41:07 +0000 |
commit | cc3d0eb483d17154fe00f68726c097546b7c9352 (patch) | |
tree | dcfa7987978c72e5c6153499635abd895923b524 /lib/Analysis/InstructionSimplify.cpp | |
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
Diffstat (limited to 'lib/Analysis/InstructionSimplify.cpp')
0 files changed, 0 insertions, 0 deletions