HomePhabricator

[CodeGenPrepare] Make TargetPassConfig required

Authored by MaskRay on Jan 30 2020, 4:17 PM.

Description

[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

Details

Committed
MaskRayFeb 2 2020, 9:28 AM
Reviewer
arsenm
Differential Revision
D73754: [CodeGenPrepare] Make TargetPassConfig required
Parents
rG8ebe001553d0: [WIP] Build assume from call
Branches
Unknown
Tags
Unknown