diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-08-28 07:53:51 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-08-28 07:53:51 +0000 |
commit | 9242cb8b8288664da4147fd6dda43514926a9041 (patch) | |
tree | 619b07c4b68fe2e6a0e58bf7e9f9a240564e2856 /test | |
parent | 66e13153bdebaef748fd5b44e18b8eab6cdf65b2 (diff) | |
download | llvm-9242cb8b8288664da4147fd6dda43514926a9041.tar.gz llvm-9242cb8b8288664da4147fd6dda43514926a9041.tar.bz2 llvm-9242cb8b8288664da4147fd6dda43514926a9041.tar.xz |
If a copy isn't coalesced, but its src is defined by trivial computation. Re-materialize the src to replace the copy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55467 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/2008-08-23-X86-64AsmBug.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/X86/2008-08-25-AsmRegTypeMismatch.ll | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/test/CodeGen/X86/2008-08-23-X86-64AsmBug.ll b/test/CodeGen/X86/2008-08-23-X86-64AsmBug.ll index 2b9f96e188..b50f2b0a60 100644 --- a/test/CodeGen/X86/2008-08-23-X86-64AsmBug.ll +++ b/test/CodeGen/X86/2008-08-23-X86-64AsmBug.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin | not grep movd +; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin | grep movd | count 1 ; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin | grep movq ; PR2677 diff --git a/test/CodeGen/X86/2008-08-25-AsmRegTypeMismatch.ll b/test/CodeGen/X86/2008-08-25-AsmRegTypeMismatch.ll index 8d987b5011..61240979ac 100644 --- a/test/CodeGen/X86/2008-08-25-AsmRegTypeMismatch.ll +++ b/test/CodeGen/X86/2008-08-25-AsmRegTypeMismatch.ll @@ -1,5 +1,7 @@ -; RUN: llvm-as < %s | llc -mcpu=yonah +; RUN: llvm-as < %s | llc -mcpu=yonah | grep pxor | count 2 +; RUN: llvm-as < %s | llc -mcpu=yonah | not grep movapd ; PR2715 + target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128" target triple = "x86_64-unknown-linux-gnu" %struct.XPTTypeDescriptorPrefix = type { i8 } |