diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-03-06 02:48:17 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-03-06 02:48:17 +0000 |
commit | 3247af294996ff8588077c06505b64966ad41542 (patch) | |
tree | 8b5068709994cf2142d47e30aa4a1be9bb962b82 /test | |
parent | 5b7634fd747fdb5a19c71bc637d4f389bd6e7611 (diff) | |
download | llvm-3247af294996ff8588077c06505b64966ad41542.tar.gz llvm-3247af294996ff8588077c06505b64966ad41542.tar.bz2 llvm-3247af294996ff8588077c06505b64966ad41542.tar.xz |
Add <imp-def> operands when reloading into physregs.
When an instruction only writes sub-registers, it is still necessary to
add an <imp-def> operand for the super-register. When reloading into a
virtual register, rewriting will add the operand, but when loading
directly into a virtual register, the <imp-def> operand is still
necessary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152095 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/ARM/neon_spill.ll | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/neon_spill.ll b/test/CodeGen/ARM/neon_spill.ll index 677b9c2aa1..277bd05ba3 100644 --- a/test/CodeGen/ARM/neon_spill.ll +++ b/test/CodeGen/ARM/neon_spill.ll @@ -1,4 +1,5 @@ ; RUN: llc < %s -verify-machineinstrs +; RUN: llc < %s -verify-machineinstrs -O0 ; PR12177 ; ; This test case spills a QQQQ register. |