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/Target/README.txt | |
parent | 38028653a95ba7dd666ce01918add96d5d13f412 (diff) | |
download | llvm-cc3d0eb483d17154fe00f68726c097546b7c9352.tar.gz llvm-cc3d0eb483d17154fe00f68726c097546b7c9352.tar.bz2 llvm-cc3d0eb483d17154fe00f68726c097546b7c9352.tar.xz |
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/Target/README.txt')
-rw-r--r-- | lib/Target/README.txt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/README.txt b/lib/Target/README.txt index 2db580824c..6bac630f50 100644 --- a/lib/Target/README.txt +++ b/lib/Target/README.txt @@ -1284,8 +1284,6 @@ http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35287 [LPRE crit edge splitting] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34677 (licm does this, LPRE crit edge) llvm-gcc t2.c -S -o - -O0 -emit-llvm | llvm-as | opt -mem2reg -simplifycfg -gvn | llvm-dis -http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16799 [BITCAST PHI TRANS] - //===---------------------------------------------------------------------===// Type based alias analysis: |