[PATCH] D42137: Add a TargetOption to enable/disable GlobalISel
Volkan Keles via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 16 15:08:24 PST 2018
volkan created this revision.
volkan added reviewers: qcolombet, aemerson, ab, dsanders.
Herald added subscribers: kristof.beyls, javed.absar, rovka.
This patch adds a new target option in order to control GlobalISel.
This will allow the users to enable/disable GlobalISel prior to the
backend by calling `TargetMachine::setGlobalISel(bool Enable)`.
No test case as there is already a test to check GlobalISel
command line options.
See: CodeGen/AArch64/GlobalISel/gisel-commandline-option.ll.
https://reviews.llvm.org/D42137
Files:
include/llvm/CodeGen/TargetPassConfig.h
include/llvm/Target/TargetMachine.h
include/llvm/Target/TargetOptions.h
lib/CodeGen/TargetPassConfig.cpp
lib/Target/AArch64/AArch64TargetMachine.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42137.130043.patch
Type: text/x-patch
Size: 6000 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180116/9a9f158a/attachment.bin>
More information about the llvm-commits
mailing list