diff options
| author | Simon Atanasyan <simon@atanasyan.com> | 2019-09-18 12:24:57 +0000 |
|---|---|---|
| committer | Simon Atanasyan <simon@atanasyan.com> | 2019-09-18 12:24:57 +0000 |
| commit | 9c36de99caa5356c7ed8760ce43d8c70cd15b2e6 (patch) | |
| tree | f59c4076966d8e03ffb7730034237b1b7afa43b5 /llvm/test/CodeGen/Mips/mirparser | |
| parent | 1ebdbad4751c5e0951974dd954a7e3b069ffd320 (diff) | |
| download | bcm5719-llvm-9c36de99caa5356c7ed8760ce43d8c70cd15b2e6.tar.gz bcm5719-llvm-9c36de99caa5356c7ed8760ce43d8c70cd15b2e6.zip | |
[mips] Pass "xgot" flag as a subtarget feature
We need "xgot" flag in the MipsAsmParser to implement correct expansion
of some pseudo instructions in case of using 32-bit GOT (XGOT).
MipsAsmParser does not have reference to MipsSubtarget but has a
reference to "feature bit set".
llvm-svn: 372220
Diffstat (limited to 'llvm/test/CodeGen/Mips/mirparser')
| -rw-r--r-- | llvm/test/CodeGen/Mips/mirparser/target-flags-pic-mxgot-tls.mir | 2 |
1 files changed, 1 insertions, 1 deletions
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, |

