]> granicus.if.org Git - clang/commit
[mips] Pass "xgot" flag as a subtarget feature
authorSimon Atanasyan <simon@atanasyan.com>
Wed, 18 Sep 2019 12:24:57 +0000 (12:24 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Wed, 18 Sep 2019 12:24:57 +0000 (12:24 +0000)
commitdea5f9524dfcb55235c0a6469791b4dc84acac37
tree7875aa14a0a63cd81e6fd3b61da02e5e71ca0549
parent557742540dfeebdedb0e6583ea0643ee919b8d73
[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".

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372220 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Arch/Mips.cpp
lib/Driver/ToolChains/Clang.cpp
test/Driver/mips-features.c
test/Driver/mips-integrated-as.s