diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-03-31 17:23:25 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-03-31 17:23:25 +0000 |
commit | 8e53aca51a141c99209ced69c9a51f52f6a8370b (patch) | |
tree | 847a16e4a87e6508012c7ee3d6a65b7357428e48 /test/CodeGen/X86/2009-04-20-LinearScanOpt.ll | |
parent | 48a36158ec09f3f47e9e84af7feb6fcf9fccfd28 (diff) | |
download | external_llvm-8e53aca51a141c99209ced69c9a51f52f6a8370b.zip external_llvm-8e53aca51a141c99209ced69c9a51f52f6a8370b.tar.gz external_llvm-8e53aca51a141c99209ced69c9a51f52f6a8370b.tar.bz2 |
Mark all uses as <undef> when joining a copy.
This way, shrinkToUses() will ignore the instruction that is about to be
deleted, and we avoid leaving invalid live ranges that SplitKit doesn't like.
Fix a misunderstanding in MachineVerifier about <def,undef> operands. The
<undef> flag is valid on def operands where it has the same meaning as <undef>
on a use operand. It only applies to sub-register defines which also read the
full register.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128642 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2009-04-20-LinearScanOpt.ll')
-rw-r--r-- | test/CodeGen/X86/2009-04-20-LinearScanOpt.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2009-04-20-LinearScanOpt.ll b/test/CodeGen/X86/2009-04-20-LinearScanOpt.ll index b74f4ae..f739216 100644 --- a/test/CodeGen/X86/2009-04-20-LinearScanOpt.ll +++ b/test/CodeGen/X86/2009-04-20-LinearScanOpt.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -mtriple=x86_64-apple-darwin10.0 -relocation-model=pic -disable-fp-elim -stats |& grep asm-printer | grep 79 +; RUN: llc < %s -mtriple=x86_64-apple-darwin10.0 -relocation-model=pic -disable-fp-elim -stats |& grep asm-printer | grep 77 ; rdar://6802189 ; Test if linearscan is unfavoring registers for allocation to allow more reuse |