diff options
author | Fangrui Song <maskray@google.com> | 2020-01-30 16:17:43 -0800 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2020-02-02 09:28:45 -0800 |
commit | 5a56a25b0bd1279c41604a64c6a1bec3815b9b36 (patch) | |
tree | 9a8c9a2697a659c479c96e09608753d2be699c13 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 8ebe001553d0c204cc41f3dbc595031828b1f140 (diff) | |
download | llvm-5a56a25b0bd1279c41604a64c6a1bec3815b9b36.zip llvm-5a56a25b0bd1279c41604a64c6a1bec3815b9b36.tar.gz llvm-5a56a25b0bd1279c41604a64c6a1bec3815b9b36.tar.bz2 |
[CodeGenPrepare] Make TargetPassConfig required
The code paths in the absence of TargetMachine, TargetLowering or
TargetRegisterInfo are poorly tested. As rL285987 said, requiring
TargetPassConfig allows us to delete many (untested) checks littered
everywhere.
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D73754
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions