This is an archive of the discontinued LLVM Phabricator instance.

Add a TargetOption to enable/disable GlobalISel
ClosedPublic

Authored by volkan on Jan 16 2018, 3:08 PM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

volkan created this revision.Jan 16 2018, 3:08 PM
This revision is now accepted and ready to land.Jan 17 2018, 1:49 PM
This revision was automatically updated to reflect the committed changes.