summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/extra-toc-reg-deps.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/extra-toc-reg-deps.ll')
-rw-r--r--llvm/test/CodeGen/PowerPC/extra-toc-reg-deps.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/PowerPC/extra-toc-reg-deps.ll b/llvm/test/CodeGen/PowerPC/extra-toc-reg-deps.ll
index 10ad8dd8865..d76c9055671 100644
--- a/llvm/test/CodeGen/PowerPC/extra-toc-reg-deps.ll
+++ b/llvm/test/CodeGen/PowerPC/extra-toc-reg-deps.ll
@@ -75,7 +75,9 @@ entry:
; CHECK: bctrl
; CHECK: ld 2, 40(1)
+; CHECK: addis [[REG1:[0-9]+]], 2, .LC0@toc@ha
; CHECK: std 2, 40(1)
+; CHECK: ld {{[0-9]+}}, .LC0@toc@l([[REG1]])
; CHECK: {{mr|ld}} 2,
; CHECK: mtctr
; CHECK: bctrl
OpenPOWER on IntegriCloud