aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2018-10-02 17:56:58 +0000
committerDaniel Sanders <daniel_l_sanders@apple.com>2018-10-02 17:56:58 +0000
commit74de21d06f1137ba26b52e929d58c7f50c481866 (patch)
tree9f731c4e371f98cac54ecf570916309ce77650b2 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parentf796e763b212ffaf8a0763093f40a96e6d8cd582 (diff)
downloadllvm-74de21d06f1137ba26b52e929d58c7f50c481866.zip
llvm-74de21d06f1137ba26b52e929d58c7f50c481866.tar.gz
llvm-74de21d06f1137ba26b52e929d58c7f50c481866.tar.bz2
[globalisel][verifier] Run the MachineVerifier from IRTranslator onwards
-verify-machineinstrs inserts the MachineVerifier after every MachineInstr-based pass. However, GlobalISel creates MachineInstr-based passes earlier than DAGISel and the corresponding verifiers are not being added. This patch fixes that. If GlobalISel triggers the fallback path then the MIR can be left in a bad state that is going to be cleared by ResetMachineFunctions. In this situation verifying between GlobalISel passes will prevent the fallback path from recovering from this. As a result, we bail out of verifying a function if the FailedISel attribute is present. llvm-svn: 343613
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions