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 | 9bd2136ca3c0494717cf4a7c6f6bb604387e7e90 (patch) | |
tree | 85ecb01a46993184ca60939734f6b9e57cca1b5c /llvm/lib/Analysis/IntervalPartition.cpp | |
parent | dfaa592de16fa12490e8417bf6d16382b98943c6 (diff) | |
download | bcm5719-llvm-9bd2136ca3c0494717cf4a7c6f6bb604387e7e90.tar.gz bcm5719-llvm-9bd2136ca3c0494717cf4a7c6f6bb604387e7e90.zip |
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
llvm-svn: 89978
Diffstat (limited to 'llvm/lib/Analysis/IntervalPartition.cpp')
0 files changed, 0 insertions, 0 deletions