Generalize this check to avoid depending on a specific register assignment.
authorDan Gohman <gohman@apple.com>
Mon, 11 Jan 2010 17:24:27 +0000 (17:24 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 11 Jan 2010 17:24:27 +0000 (17:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93157 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/2009-11-16-MachineLICM.ll

index a7c202076da8690b9c6b6f2340b641128f91fe62..8f274df918d1a8eddbfa06ae1c845c7121661fcc 100644 (file)
@@ -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