summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-01-11 17:24:27 +0000
committerDan Gohman <gohman@apple.com>2010-01-11 17:24:27 +0000
commit31e8637ac2c49d0446a2ca736e1a7df6ca8631bf (patch)
tree16091c2cbd4cbf244802531e1cf8e140d199946d
parent355ebc7f58e4cd92a5f568694c012d436bc7679b (diff)
downloadbcm5719-llvm-31e8637ac2c49d0446a2ca736e1a7df6ca8631bf.tar.gz
bcm5719-llvm-31e8637ac2c49d0446a2ca736e1a7df6ca8631bf.zip
Generalize this check to avoid depending on a specific register assignment.
llvm-svn: 93157
-rw-r--r--llvm/test/CodeGen/X86/2009-11-16-MachineLICM.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/2009-11-16-MachineLICM.ll b/llvm/test/CodeGen/X86/2009-11-16-MachineLICM.ll
index a7c202076da..8f274df918d 100644
--- a/llvm/test/CodeGen/X86/2009-11-16-MachineLICM.ll
+++ b/llvm/test/CodeGen/X86/2009-11-16-MachineLICM.ll
@@ -10,7 +10,7 @@ entry:
br i1 %0, label %bb.nph, label %return
bb.nph: ; preds = %entry
-; CHECK: movq _g@GOTPCREL(%rip), %rcx
+; CHECK: movq _g@GOTPCREL(%rip), [[REG:%[a-z]+]]
%tmp = zext i32 %n to i64 ; <i64> [#uses=1]
br label %bb
OpenPOWER on IntegriCloud