Generalize this check to avoid depending on a specific register assignment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93157 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2010-01-11 17:24:27 +00:00
parent 3bf224ba1d
commit 3e8e4fd40c

View 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