diff options
author | Quentin Colombet <qcolombet@apple.com> | 2017-08-15 22:31:51 +0000 |
---|---|---|
committer | Quentin Colombet <qcolombet@apple.com> | 2017-08-15 22:31:51 +0000 |
commit | 8e98e027842027dd9973370f111b9f0cf6137752 (patch) | |
tree | 5890c62f713cd263b3471e86ee0d07e5c214d0f4 /docs/GlobalISel.rst | |
parent | 417caf5c7c02515698d5f9a28654973974f9cfcb (diff) |
Reapply "[GlobalISel] Remove the GISelAccessor API."
This reverts commit r310425, thus reapplying r310335 with a fix for link
issue of the AArch64 unittests on Linux bots when BUILD_SHARED_LIBS is ON.
Original commit message:
[GlobalISel] Remove the GISelAccessor API.
Its sole purpose was to avoid spreading around ifdefs related to
building global-isel. Since r309990, GlobalISel is not optional anymore,
thus, we can get rid of this mechanism all together.
NFC.
----
The fix for the link issue consists in adding the GlobalISel library in
the list of dependencies for the AArch64 unittests. This dependency
comes from the use of AArch64Subtarget that needs to know how
to destruct the GISel related APIs when being detroyed.
Thanks to Bill Seurer and Ahmed Bougacha for helping me reproducing and
understand the problem.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310969 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/GlobalISel.rst')
-rw-r--r-- | docs/GlobalISel.rst | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/docs/GlobalISel.rst b/docs/GlobalISel.rst index 176bd4edea3..52ca9a02ba5 100644 --- a/docs/GlobalISel.rst +++ b/docs/GlobalISel.rst @@ -633,5 +633,3 @@ Additionally: * ``TargetPassConfig`` --- create the passes constituting the pipeline, including additional passes not included in the :ref:`pipeline`. -* ``GISelAccessor`` --- setup the various subtarget-provided classes, with a - graceful fallback to no-op when GlobalISel isn't enabled. |