diff options
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/CodeGen/Mips/address-selection.ll | 6 | ||||
| -rw-r--r-- | llvm/test/CodeGen/Mips/biggot.ll | 14 | ||||
| -rw-r--r-- | llvm/test/CodeGen/Mips/mirparser/target-flags-pic-mxgot-tls.mir | 2 |
3 files changed, 13 insertions, 9 deletions
diff --git a/llvm/test/CodeGen/Mips/address-selection.ll b/llvm/test/CodeGen/Mips/address-selection.ll index 36a1d5117be..1e0a9a42e12 100644 --- a/llvm/test/CodeGen/Mips/address-selection.ll +++ b/llvm/test/CodeGen/Mips/address-selection.ll @@ -1,8 +1,10 @@ ; RUN: llc -march=mips < %s -debug 2>&1 | FileCheck %s --check-prefix=MIPS -; RUN: llc -march=mips -relocation-model=pic -mxgot < %s -debug 2>&1 | FileCheck %s --check-prefix=MIPS-XGOT +; RUN: llc -march=mips -relocation-model=pic -mattr=+xgot < %s \ +; RUN: -debug 2>&1 | FileCheck %s --check-prefix=MIPS-XGOT ; RUN: llc -march=mips -mattr=+micromips < %s -debug 2>&1 | FileCheck %s --check-prefix=MM -; RUN: llc -march=mips -relocation-model=pic -mxgot -mattr=+micromips < %s -debug 2>&1 | FileCheck %s --check-prefix=MM-XGOT +; RUN: llc -march=mips -relocation-model=pic -mattr=+xgot,+micromips < %s \ +; RUN: -debug 2>&1 | FileCheck %s --check-prefix=MM-XGOT ; REQUIRES: asserts diff --git a/llvm/test/CodeGen/Mips/biggot.ll b/llvm/test/CodeGen/Mips/biggot.ll index 305dcf85572..aed1c487e7d 100644 --- a/llvm/test/CodeGen/Mips/biggot.ll +++ b/llvm/test/CodeGen/Mips/biggot.ll @@ -1,9 +1,11 @@ -; RUN: llc -march=mipsel -mxgot -relocation-model=pic < %s | FileCheck %s -check-prefix=O32 -; RUN: llc -march=mips64el -mcpu=mips64r2 -mxgot -relocation-model=pic < %s | \ -; RUN: FileCheck %s -check-prefix=N64 -; RUN: llc -march=mipsel -mxgot -relocation-model=pic -fast-isel < %s | FileCheck %s -check-prefix=O32 -; RUN: llc -march=mips64el -mcpu=mips64r2 -mxgot -relocation-model=pic -fast-isel < %s | \ -; RUN: FileCheck %s -check-prefix=N64 +; RUN: llc -march=mipsel -mattr=+xgot \ +; RUN: -relocation-model=pic < %s | FileCheck %s -check-prefix=O32 +; RUN: llc -march=mips64el -mcpu=mips64r2 -mattr=+xgot \ +; RUN: -relocation-model=pic < %s | FileCheck %s -check-prefix=N64 +; RUN: llc -march=mipsel -mattr=+xgot -fast-isel \ +; RUN: -relocation-model=pic < %s | FileCheck %s -check-prefix=O32 +; RUN: llc -march=mips64el -mcpu=mips64r2 -mattr=+xgot -fast-isel \ +; RUN: -relocation-model=pic < %s | FileCheck %s -check-prefix=N64 @v0 = external global i32 diff --git a/llvm/test/CodeGen/Mips/mirparser/target-flags-pic-mxgot-tls.mir b/llvm/test/CodeGen/Mips/mirparser/target-flags-pic-mxgot-tls.mir index 2956a175dd7..5b72917a481 100644 --- a/llvm/test/CodeGen/Mips/mirparser/target-flags-pic-mxgot-tls.mir +++ b/llvm/test/CodeGen/Mips/mirparser/target-flags-pic-mxgot-tls.mir @@ -1,5 +1,5 @@ # RUN: llc -march=mips64 -target-abi n64 -start-before=finalize-isel \ -# RUN: -stop-after=finalize-isel -relocation-model=pic -mxgot \ +# RUN: -stop-after=finalize-isel -relocation-model=pic -mattr=+xgot \ # RUN: -o /dev/null %s # A simple test to show that we can parse the target specific flags: gpoff-hi, |

