]> granicus.if.org Git - llvm/commit
[AArch64] Don't implicitly enable global isel on Darwin if code-model==large.
authorLang Hames <lhames@gmail.com>
Wed, 18 Sep 2019 19:56:55 +0000 (19:56 +0000)
committerLang Hames <lhames@gmail.com>
Wed, 18 Sep 2019 19:56:55 +0000 (19:56 +0000)
commit6c88df476f0fe9687e8f53b53c414765291bc235
tree151b6315ad07073b11e0c9ddad4b21e0430813ef
parent2ecd35251fdfc8f74470378fdf2888e845d61907
[AArch64] Don't implicitly enable global isel on Darwin if code-model==large.

Summary:
AArch64 GlobalISel doesn't support MachO's large code model, so this patch
adds a check for that combination before implicitly enabling it.

Reviewers: paquette

Subscribers: kristof.beyls, ributzka, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D67724

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372256 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64TargetMachine.cpp
test/CodeGen/AArch64/arm64-code-model-large-darwin.ll [new file with mode: 0644]