aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-10-12 00:06:23 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-10-12 00:06:23 +0000
commit39c31a77b8b4313bb4e4a7ee24e8c9254c8ff4b8 (patch)
tree2d1da8e6428d1fd8e91d8f6e52a79c37e156ec75 /llvm/lib/Object/ELFObjectFile.cpp
parentfa643c8f3b19b9940387089a527ddb2d568cd2fe (diff)
downloadllvm-39c31a77b8b4313bb4e4a7ee24e8c9254c8ff4b8.zip
llvm-39c31a77b8b4313bb4e4a7ee24e8c9254c8ff4b8.tar.gz
llvm-39c31a77b8b4313bb4e4a7ee24e8c9254c8ff4b8.tar.bz2
Fix -widen-vmovs liveness issues.
When widening a copy, we are reading a larger register that may not be live. Use an <undef> flag to tell the register scavenger and machine code verifier that we know the value isn't defined. We now widen: %S6<def> = COPY %S4<kill>, %D3<imp-def> into: %D3<def> = VMOVD %D2<undef>, pred:14, pred:%noreg, %S4<imp-use,kill> This also keeps the <kill> flag on %S4 so we don't inadvertently kill a live value in %S5. Finally, ensure that ARMBaseInstrInfo::setExecutionDomain() preserves the <undef> flag when converting VMOVD to VORR. llvm-svn: 141746
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions