diff options
author | Dan Gohman <gohman@apple.com> | 2008-10-02 14:56:12 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-10-02 14:56:12 +0000 |
commit | 833a77c3e36023fd3a250fc4eecb4e55024d1802 (patch) | |
tree | d1fa74fca8ef309b6c54fe6e1123738b64135285 /lib/CodeGen/MachineInstr.cpp | |
parent | 314ee058bf22970fbc487c620f84e9201ebc9f0d (diff) | |
download | external_llvm-833a77c3e36023fd3a250fc4eecb4e55024d1802.zip external_llvm-833a77c3e36023fd3a250fc4eecb4e55024d1802.tar.gz external_llvm-833a77c3e36023fd3a250fc4eecb4e55024d1802.tar.bz2 |
Work around an interaction between fast-isel and regalloc=local. The
local register allocator's physreg liveness doesn't recognize subregs,
so it doesn't know that defs of %ecx that are immediately followed by
uses of %cl aren't dead. This comes up due to the way fast-isel emits
shift instructions.
This is a temporary workaround. Arguably, local regalloc should
handle subreg references correctly. On the other hand, perhaps
fast-isel should use INSERT_SUBREG instead of just assigning to the
most convenient super-register of %cl when lowering shifts.
This fixes MultiSource/Benchmarks/MallocBench/espresso,
MultiSource/Applications/hexxagon, and others, under -fast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56947 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions