summaryrefslogtreecommitdiff
path: root/bindings/ocaml/llvm/llvm_ocaml.c
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-03-19 00:52:20 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-03-19 00:52:20 +0000
commit94202018c51d662c793a77a5e8239f3a35e11e60 (patch)
tree58346f7d32ee180ed7ae37c0e3c36c25562606f7 /bindings/ocaml/llvm/llvm_ocaml.c
parentc7fe32e840758baa9ce4f93c321b508a69b98262 (diff)
downloadllvm-94202018c51d662c793a77a5e8239f3a35e11e60.tar.gz
llvm-94202018c51d662c793a77a5e8239f3a35e11e60.tar.bz2
llvm-94202018c51d662c793a77a5e8239f3a35e11e60.tar.xz
Fix live variables issues:
1. If part of a register is re-defined, an implicit kill and an implicit def are added to denote read / mod / write. However, this should only be necessary if the register is actually read later. This is a performance issue. 2. If a sub-register is being defined, and it doesn't have a previous use, do not add a implicit kill to the last use of a super-register: = EAX, AX<imp-use,kill> ... AX = In this case, EAX is live but AX is killed, this is wrong and will cause the coalescer to do bad things. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48521 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings/ocaml/llvm/llvm_ocaml.c')
0 files changed, 0 insertions, 0 deletions