aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-09-15 18:31:13 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-09-15 18:31:13 +0000
commit01afdb3a45f63af540b43b414c6094220a8f91e7 (patch)
treea7f199c3da7e059f5e1a74e82434b7069b3be094 /test/CodeGen/X86
parent0c4b9ff0775c8d15242f65dc4a7ab98f04bd5d68 (diff)
downloadexternal_llvm-01afdb3a45f63af540b43b414c6094220a8f91e7.zip
external_llvm-01afdb3a45f63af540b43b414c6094220a8f91e7.tar.gz
external_llvm-01afdb3a45f63af540b43b414c6094220a8f91e7.tar.bz2
VirtRegMap is counting spill slots, not register spills.
Fix the stats counters to reflect that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139819 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86')
-rw-r--r--test/CodeGen/X86/pr3495.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/pr3495.ll b/test/CodeGen/X86/pr3495.ll
index c612a6e..3dcd6da 100644
--- a/test/CodeGen/X86/pr3495.ll
+++ b/test/CodeGen/X86/pr3495.ll
@@ -1,5 +1,5 @@
; RUN: llc < %s -march=x86 -stats -regalloc=linearscan |& grep {Number of loads added} | grep 2
-; RUN: llc < %s -march=x86 -stats -regalloc=linearscan |& grep {Number of register spills} | grep 1
+; RUN: llc < %s -march=x86 -stats -regalloc=linearscan |& grep {Number of spill slots allocated} | grep 1
; RUN: llc < %s -march=x86 -stats -regalloc=linearscan |& grep {Number of machine instrs printed} | grep 34
; PR3495