summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/GlobalISel/arm-unsupported.ll
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2017-09-01 11:13:39 +0000
committerDiana Picus <diana.picus@linaro.org>2017-09-01 11:13:39 +0000
commitf9597911896743f56eef86eee7bcf891d90cf85b (patch)
tree04b14397e51492210e8a54b5199226fa58b00af9 /llvm/test/CodeGen/ARM/GlobalISel/arm-unsupported.ll
parent65130e2d8daaaf8dd6646f7840f27fac6709d5cf (diff)
downloadbcm5719-llvm-f9597911896743f56eef86eee7bcf891d90cf85b.tar.gz
bcm5719-llvm-f9597911896743f56eef86eee7bcf891d90cf85b.zip
[ARM] GlobalISel: Support ROPI global variables
In the ROPI relocation model, read-only variables are accessed relative to the PC. We use the (MOV|LDRLIT)_ga_pcrel pseudoinstructions for this. llvm-svn: 312323
Diffstat (limited to 'llvm/test/CodeGen/ARM/GlobalISel/arm-unsupported.ll')
-rw-r--r--llvm/test/CodeGen/ARM/GlobalISel/arm-unsupported.ll4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/ARM/GlobalISel/arm-unsupported.ll b/llvm/test/CodeGen/ARM/GlobalISel/arm-unsupported.ll
index 9d09fe0dda1..19ccc1773e3 100644
--- a/llvm/test/CodeGen/ARM/GlobalISel/arm-unsupported.ll
+++ b/llvm/test/CodeGen/ARM/GlobalISel/arm-unsupported.ll
@@ -116,9 +116,7 @@ define i32 @test_thread_local_global() {
@a_global = external global i32
define i32 @test_global_reloc_models() {
-; This is only unsupported for the PIC, ROPI, RWPI relocation modes.
-; ROPI: remark: {{.*}} cannot select: {{.*}} G_GLOBAL_VALUE
-; ROPI-LABEL: warning: Instruction selection used fallback path for test_global_reloc_models
+; This is only unsupported for the RWPI relocation modes.
; RWPI: remark: {{.*}} cannot select: {{.*}} G_GLOBAL_VALUE
; RWPI-LABEL: warning: Instruction selection used fallback path for test_global_reloc_models
; ROPI-RWPI: remark: {{.*}} cannot select: {{.*}} G_GLOBAL_VALUE
OpenPOWER on IntegriCloud