diff options
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/MC/Mips/cprestore-noreorder-noat.s | 10 | ||||
-rw-r--r-- | llvm/test/MC/Mips/cprestore-noreorder.s | 12 | ||||
-rw-r--r-- | llvm/test/MC/Mips/cprestore-reorder.s | 12 | ||||
-rw-r--r-- | llvm/test/MC/Mips/cprestore-warning-unused.s | 2 | ||||
-rw-r--r-- | llvm/test/MC/Mips/init-order-bug.ll | 2 | ||||
-rw-r--r-- | llvm/test/MC/Sparc/sparc-pic.s | 4 |
6 files changed, 21 insertions, 21 deletions
diff --git a/llvm/test/MC/Mips/cprestore-noreorder-noat.s b/llvm/test/MC/Mips/cprestore-noreorder-noat.s index 0716145effa..25ceac1c63a 100644 --- a/llvm/test/MC/Mips/cprestore-noreorder-noat.s +++ b/llvm/test/MC/Mips/cprestore-noreorder-noat.s @@ -1,17 +1,17 @@ -# RUN: not llvm-mc %s -arch=mips -mcpu=mips32 -relocation-model=pic -filetype=obj \ +# RUN: not llvm-mc %s -arch=mips -mcpu=mips32 --position-independent -filetype=obj \ # RUN: -o /dev/null 2>&1 | FileCheck %s -check-prefix=O32 -# RUN: llvm-mc %s -arch=mips64 -mcpu=mips64 -relocation-model=pic \ +# RUN: llvm-mc %s -arch=mips64 -mcpu=mips64 \ # RUN: -filetype=obj -o /dev/null 2>&1 | FileCheck %s -allow-empty -check-prefix=N32 -# RUN: llvm-mc %s -arch=mips64 -mcpu=mips64 -relocation-model=pic -target-abi=n32 \ +# RUN: llvm-mc %s -arch=mips64 -mcpu=mips64 -target-abi=n32 \ # RUN: -filetype=obj -o /dev/null 2>&1 | FileCheck %s -allow-empty -check-prefix=N64 -# RUN: llvm-mc %s -arch=mips64 -mcpu=mips64 -relocation-model=pic -target-abi=n32 \ +# RUN: llvm-mc %s -arch=mips64 -mcpu=mips64 -target-abi=n32 \ # RUN: -filetype=obj -o - | llvm-objdump -d -r - | \ # RUN: FileCheck %s -check-prefix=NO-STORE -# RUN: llvm-mc %s -arch=mips64 -mcpu=mips64 -relocation-model=pic -filetype=obj -o - | \ +# RUN: llvm-mc %s -arch=mips64 -mcpu=mips64 -filetype=obj -o - | \ # RUN: llvm-objdump -d -r - | \ # RUN: FileCheck %s -check-prefix=NO-STORE diff --git a/llvm/test/MC/Mips/cprestore-noreorder.s b/llvm/test/MC/Mips/cprestore-noreorder.s index 4c2213301c2..1d1997493f5 100644 --- a/llvm/test/MC/Mips/cprestore-noreorder.s +++ b/llvm/test/MC/Mips/cprestore-noreorder.s @@ -1,20 +1,20 @@ -# RUN: llvm-mc %s -arch=mips -mcpu=mips32 -relocation-model=pic -show-encoding | \ +# RUN: llvm-mc %s -arch=mips -mcpu=mips32 --position-independent -show-encoding | \ # RUN: FileCheck %s -# RUN: llvm-mc %s -arch=mips -mcpu=mips32 -relocation-model=pic -filetype=obj -o -| \ +# RUN: llvm-mc %s -arch=mips -mcpu=mips32 --position-independent -filetype=obj -o -| \ # RUN: llvm-objdump -d -r -arch=mips - | \ # RUN: FileCheck %s -check-prefix=CHECK-FOR-STORE -# RUN: llvm-mc %s -arch=mips -mcpu=mips32 -mattr=+micromips -relocation-model=pic -show-encoding | \ +# RUN: llvm-mc %s -arch=mips -mcpu=mips32 -mattr=+micromips --position-independent -show-encoding | \ # RUN: FileCheck %s -check-prefix=MICROMIPS -# RUN: llvm-mc %s -arch=mips -mcpu=mips32 -relocation-model=static -show-encoding | \ +# RUN: llvm-mc %s -arch=mips -mcpu=mips32 -show-encoding | \ # RUN: FileCheck %s -check-prefix=NO-PIC -# RUN: llvm-mc %s -arch=mips -mcpu=mips64 -target-abi n32 -relocation-model=pic -show-encoding | \ +# RUN: llvm-mc %s -arch=mips -mcpu=mips64 -target-abi n32 --position-independent -show-encoding | \ # RUN: FileCheck %s -check-prefix=BAD-ABI -check-prefix=BAD-ABI-N32 -# RUN: llvm-mc %s -arch=mips64 -mcpu=mips64 -target-abi n64 -relocation-model=pic -show-encoding | \ +# RUN: llvm-mc %s -arch=mips64 -mcpu=mips64 -target-abi n64 --position-independent -show-encoding | \ # RUN: FileCheck %s -check-prefix=BAD-ABI -check-prefix=BAD-ABI-N64 .text diff --git a/llvm/test/MC/Mips/cprestore-reorder.s b/llvm/test/MC/Mips/cprestore-reorder.s index d9e9a4cdcaf..eeb4e8e99c7 100644 --- a/llvm/test/MC/Mips/cprestore-reorder.s +++ b/llvm/test/MC/Mips/cprestore-reorder.s @@ -1,20 +1,20 @@ -# RUN: llvm-mc %s -arch=mips -mcpu=mips32 -relocation-model=pic -show-encoding | \ +# RUN: llvm-mc %s -arch=mips -mcpu=mips32 --position-independent -show-encoding | \ # RUN: FileCheck %s -# RUN: llvm-mc %s -arch=mips -mcpu=mips32 -relocation-model=pic -filetype=obj -o -| \ +# RUN: llvm-mc %s -arch=mips -mcpu=mips32 --position-independent -filetype=obj -o -| \ # RUN: llvm-objdump -d -r -arch=mips - | \ # RUN: FileCheck %s -check-prefix=CHECK-FOR-STORE -# RUN: llvm-mc %s -arch=mips -mcpu=mips32 -mattr=+micromips -relocation-model=pic -show-encoding | \ +# RUN: llvm-mc %s -arch=mips -mcpu=mips32 -mattr=+micromips --position-independent -show-encoding | \ # RUN: FileCheck %s -check-prefix=MICROMIPS -# RUN: llvm-mc %s -arch=mips -mcpu=mips32 -relocation-model=static -show-encoding | \ +# RUN: llvm-mc %s -arch=mips -mcpu=mips32 -show-encoding | \ # RUN: FileCheck %s -check-prefix=NO-PIC -# RUN: llvm-mc %s -arch=mips -mcpu=mips64 -target-abi n32 -relocation-model=pic -show-encoding | \ +# RUN: llvm-mc %s -arch=mips -mcpu=mips64 -target-abi n32 --position-independent -show-encoding | \ # RUN: FileCheck %s -check-prefix=BAD-ABI -check-prefix=BAD-ABI-N32 -# RUN: llvm-mc %s -arch=mips64 -mcpu=mips64 -target-abi n64 -relocation-model=pic -show-encoding | \ +# RUN: llvm-mc %s -arch=mips64 -mcpu=mips64 -target-abi n64 --position-independent -show-encoding | \ # RUN: FileCheck %s -check-prefix=BAD-ABI -check-prefix=BAD-ABI-N64 .text diff --git a/llvm/test/MC/Mips/cprestore-warning-unused.s b/llvm/test/MC/Mips/cprestore-warning-unused.s index 41a5df71597..e4999b48fb9 100644 --- a/llvm/test/MC/Mips/cprestore-warning-unused.s +++ b/llvm/test/MC/Mips/cprestore-warning-unused.s @@ -1,4 +1,4 @@ -# RUN: llvm-mc %s -arch=mips -mcpu=mips32 -relocation-model=pic 2>%t1 +# RUN: llvm-mc %s -arch=mips -mcpu=mips32 --position-independent 2>%t1 # RUN: FileCheck %s < %t1 .text diff --git a/llvm/test/MC/Mips/init-order-bug.ll b/llvm/test/MC/Mips/init-order-bug.ll index 9682dce97e9..5e972624787 100644 --- a/llvm/test/MC/Mips/init-order-bug.ll +++ b/llvm/test/MC/Mips/init-order-bug.ll @@ -1,5 +1,5 @@ ; RUN: llc -mtriple=mipsel-linux-gnu -relocation-model=pic -filetype=asm < %s | \ -; RUN: llvm-mc -triple=mipsel-linux-gnu -relocation-model=pic -filetype=obj | \ +; RUN: llvm-mc -triple=mipsel-linux-gnu --position-independent -filetype=obj | \ ; RUN: llvm-objdump -d - | FileCheck %s ; RUN: llc -mtriple=mipsel-linux-gnu -relocation-model=pic -filetype=obj < %s | \ ; RUN: llvm-objdump -d - | FileCheck %s diff --git a/llvm/test/MC/Sparc/sparc-pic.s b/llvm/test/MC/Sparc/sparc-pic.s index 1c935e0842c..f51e1e93b50 100644 --- a/llvm/test/MC/Sparc/sparc-pic.s +++ b/llvm/test/MC/Sparc/sparc-pic.s @@ -1,5 +1,5 @@ -! RUN: llvm-mc %s -arch=sparcv9 --relocation-model=pic -filetype=obj | llvm-readobj -r | FileCheck --check-prefix=PIC %s -! RUN: llvm-mc %s -arch=sparcv9 --relocation-model=static -filetype=obj | llvm-readobj -r | FileCheck --check-prefix=NOPIC %s +! RUN: llvm-mc %s -arch=sparcv9 --position-independent -filetype=obj | llvm-readobj -r | FileCheck --check-prefix=PIC %s +! RUN: llvm-mc %s -arch=sparcv9 -filetype=obj | llvm-readobj -r | FileCheck --check-prefix=NOPIC %s ! PIC: Relocations [ |