summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2016-05-18 00:27:17 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2016-05-18 00:27:17 +0000
commitcdb2a15d9d1aa5a1e5799a88c65f4abb7d551f19 (patch)
treec22f36f75b95d2677efeb1a9a3adbd6b76920e1f /llvm/test/MC
parent62e8ec572190263324a0bba715497dc0cd17b4b5 (diff)
downloadbcm5719-llvm-cdb2a15d9d1aa5a1e5799a88c65f4abb7d551f19.tar.gz
bcm5719-llvm-cdb2a15d9d1aa5a1e5799a88c65f4abb7d551f19.zip
Don't pass relocation-model= to tests that don't need it.
Very few things in MC itself use the option. Most of the code that that uses it could be move to CodeGen. llvm-svn: 269871
Diffstat (limited to 'llvm/test/MC')
-rw-r--r--llvm/test/MC/ARM/elf-thumbfunc-reloc2.s2
-rw-r--r--llvm/test/MC/Mips/cprestore-bad.s2
-rw-r--r--llvm/test/MC/Mips/do_switch1.s2
-rw-r--r--llvm/test/MC/Mips/do_switch2.s2
-rw-r--r--llvm/test/MC/Mips/do_switch3.s2
-rw-r--r--llvm/test/MC/Mips/mips_gprel16.s4
-rw-r--r--llvm/test/MC/PowerPC/ppc64-initial-cfa.s8
7 files changed, 11 insertions, 11 deletions
diff --git a/llvm/test/MC/ARM/elf-thumbfunc-reloc2.s b/llvm/test/MC/ARM/elf-thumbfunc-reloc2.s
index 54eedcd9575..18c13d90332 100644
--- a/llvm/test/MC/ARM/elf-thumbfunc-reloc2.s
+++ b/llvm/test/MC/ARM/elf-thumbfunc-reloc2.s
@@ -1,4 +1,4 @@
-// RUN: llvm-mc %s -triple=thumbv7-linux-gnueabi -relocation-model=pic \
+// RUN: llvm-mc %s -triple=thumbv7-linux-gnueabi \
// RUN: -filetype=obj -o - | llvm-readobj -s -sd -r -t | \
// RUN: FileCheck %s
diff --git a/llvm/test/MC/Mips/cprestore-bad.s b/llvm/test/MC/Mips/cprestore-bad.s
index d2fb037091d..cfd62a4ed98 100644
--- a/llvm/test/MC/Mips/cprestore-bad.s
+++ b/llvm/test/MC/Mips/cprestore-bad.s
@@ -1,4 +1,4 @@
-# RUN: not llvm-mc %s -arch=mips -mcpu=mips32 -relocation-model=pic 2>%t1
+# RUN: not llvm-mc %s -arch=mips -mcpu=mips32 2>%t1
# RUN: FileCheck %s < %t1
.text
diff --git a/llvm/test/MC/Mips/do_switch1.s b/llvm/test/MC/Mips/do_switch1.s
index 331a4e25a82..69742e9091a 100644
--- a/llvm/test/MC/Mips/do_switch1.s
+++ b/llvm/test/MC/Mips/do_switch1.s
@@ -2,7 +2,7 @@
// produced. This was not handled for direct object and an assertion
// to occur. This is a variation on test case test/CodeGen/Mips/do_switch.ll
-// RUN: llvm-mc < %s -filetype=obj -triple=mips-pc-linux -relocation-model=static
+// RUN: llvm-mc < %s -filetype=obj -triple=mips-pc-linux
.text
.abicalls
diff --git a/llvm/test/MC/Mips/do_switch2.s b/llvm/test/MC/Mips/do_switch2.s
index 824054f7c87..0c8ad4ad896 100644
--- a/llvm/test/MC/Mips/do_switch2.s
+++ b/llvm/test/MC/Mips/do_switch2.s
@@ -2,7 +2,7 @@
// produced. This was not handled for direct object and an assertion
// to occur. This is a variation on test case test/CodeGen/Mips/do_switch.ll
-// RUN: llvm-mc < %s -filetype=obj -triple=mips-pc-linux -relocation-model=pic
+// RUN: llvm-mc < %s -filetype=obj -triple=mips-pc-linux
.text
.abicalls
diff --git a/llvm/test/MC/Mips/do_switch3.s b/llvm/test/MC/Mips/do_switch3.s
index c0d9dc62fe6..7ed4f7c5219 100644
--- a/llvm/test/MC/Mips/do_switch3.s
+++ b/llvm/test/MC/Mips/do_switch3.s
@@ -2,7 +2,7 @@
// produced. This was not handled for direct object and an assertion
// to occur. This is a variation on test case test/CodeGen/Mips/do_switch.ll
-// RUN: llvm-mc < %s -filetype=obj -triple=mips64-pc-linux -relocation-model=pic -mcpu=mips64 -target-abi=n64
+// RUN: llvm-mc < %s -filetype=obj -triple=mips64-pc-linux -mcpu=mips64 -target-abi=n64
.text
.abicalls
diff --git a/llvm/test/MC/Mips/mips_gprel16.s b/llvm/test/MC/Mips/mips_gprel16.s
index 9dd3fa3281c..9f2d1006f17 100644
--- a/llvm/test/MC/Mips/mips_gprel16.s
+++ b/llvm/test/MC/Mips/mips_gprel16.s
@@ -3,10 +3,10 @@
// addend is stored in the instruction immediate
// field.
-// RUN: llvm-mc -mcpu=mips32r2 -triple=mipsel-pc-linux -filetype=obj -relocation-model=static %s -o - \
+// RUN: llvm-mc -mcpu=mips32r2 -triple=mipsel-pc-linux -filetype=obj %s -o - \
// RUN: | llvm-objdump -disassemble -mattr +mips32r2 - \
// RUN: | FileCheck %s
-// RUN: llvm-mc -mcpu=mips32r2 -triple=mips-pc-linux -filetype=obj -relocation-model=static %s -o - \
+// RUN: llvm-mc -mcpu=mips32r2 -triple=mips-pc-linux -filetype=obj %s -o - \
// RUN: | llvm-objdump -disassemble -mattr +mips32r2 - \
// RUN: | FileCheck %s
diff --git a/llvm/test/MC/PowerPC/ppc64-initial-cfa.s b/llvm/test/MC/PowerPC/ppc64-initial-cfa.s
index ca97e1b96b0..819cd1114ae 100644
--- a/llvm/test/MC/PowerPC/ppc64-initial-cfa.s
+++ b/llvm/test/MC/PowerPC/ppc64-initial-cfa.s
@@ -1,10 +1,10 @@
-# RUN: llvm-mc -triple=powerpc64-unknown-linux-gnu -filetype=obj -relocation-model=static %s | \
+# RUN: llvm-mc -triple=powerpc64-unknown-linux-gnu -filetype=obj %s | \
# RUN: llvm-readobj -s -sr -sd | FileCheck %s -check-prefix=STATIC -check-prefix=STATIC-BE
-# RUN: llvm-mc -triple=powerpc64-unknown-linux-gnu -filetype=obj -relocation-model=pic %s | \
+# RUN: llvm-mc -triple=powerpc64-unknown-linux-gnu -filetype=obj %s | \
# RUN: llvm-readobj -s -sr -sd | FileCheck %s -check-prefix=PIC -check-prefix=PIC-BE
-# RUN: llvm-mc -triple=powerpc64le-unknown-linux-gnu -filetype=obj -relocation-model=static %s | \
+# RUN: llvm-mc -triple=powerpc64le-unknown-linux-gnu -filetype=obj %s | \
# RUN: llvm-readobj -s -sr -sd | FileCheck %s -check-prefix=STATIC -check-prefix=STATIC-LE
-# RUN: llvm-mc -triple=powerpc64le-unknown-linux-gnu -filetype=obj -relocation-model=pic %s | \
+# RUN: llvm-mc -triple=powerpc64le-unknown-linux-gnu -filetype=obj %s | \
# RUN: llvm-readobj -s -sr -sd | FileCheck %s -check-prefix=PIC -check-prefix=PIC-LE
_proc:
OpenPOWER on IntegriCloud